Use Append() to append to LIBS, like in the other SConscripts.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@623 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
31f1fabbac
commit
ef1aba784e
|
@ -25,13 +25,14 @@ libs = [
|
||||||
|
|
||||||
wxenv = env.Clone()
|
wxenv = env.Clone()
|
||||||
wxenv.Append(
|
wxenv.Append(
|
||||||
CPPDEFINES = [
|
CPPDEFINES = [
|
||||||
'USE_XPM_BITMAPS',
|
'USE_XPM_BITMAPS',
|
||||||
'wxNEEDS_CHARPP',
|
'wxNEEDS_CHARPP',
|
||||||
],
|
],
|
||||||
LINKFLAGS = [
|
LINKFLAGS = [
|
||||||
'-pthread',
|
'-pthread',
|
||||||
]
|
],
|
||||||
|
LIBS = libs
|
||||||
)
|
)
|
||||||
|
|
||||||
if sys.platform == 'darwin':
|
if sys.platform == 'darwin':
|
||||||
|
@ -63,5 +64,5 @@ else:
|
||||||
exeNoGUI = '../../../../Binary/linux/DolphinNoGUI'
|
exeNoGUI = '../../../../Binary/linux/DolphinNoGUI'
|
||||||
|
|
||||||
objects = [ wxenv.Object(srcFile) for srcFile in files ]
|
objects = [ wxenv.Object(srcFile) for srcFile in files ]
|
||||||
wxenv.Program(exeGUI, objects + [ 'Main.cpp' ], LIBS=wxenv['LIBS']+libs)
|
wxenv.Program(exeGUI, objects + [ 'Main.cpp' ])
|
||||||
wxenv.Program(exeNoGUI, objects + [ 'MainNoGUI.cpp' ], LIBS=wxenv['LIBS']+libs)
|
wxenv.Program(exeNoGUI, objects + [ 'MainNoGUI.cpp' ])
|
||||||
|
|
Loading…
Reference in New Issue