mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-21 12:41:09 +00:00
Fix building with --as-needed.
Fixes issue 3301. Patch by Christian.Morales.Vega, thanks ;) git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@6258 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
6c8fc66698
commit
4153e6eee1
@ -105,6 +105,6 @@ else:
|
|||||||
|
|
||||||
if env['HAVE_WX']:
|
if env['HAVE_WX']:
|
||||||
env.StaticLibrary(env['local_libs'] + 'memcard', memcardfiles)
|
env.StaticLibrary(env['local_libs'] + 'memcard', memcardfiles)
|
||||||
env.Program(exeGUI, files, LIBS = env['LIBS'] + wxlibs + libs)
|
env.Program(exeGUI, files, LIBS = wxlibs + libs + env['LIBS'])
|
||||||
else:
|
else:
|
||||||
env.Program(exeNoGUI, files, LIBS = env['LIBS'] + libs)
|
env.Program(exeNoGUI, files, LIBS = libs + env['LIBS'])
|
||||||
|
@ -31,4 +31,4 @@ if env['HAVE_WX']:
|
|||||||
|
|
||||||
libs = [ 'common', 'audiocommon' ]
|
libs = [ 'common', 'audiocommon' ]
|
||||||
|
|
||||||
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])
|
||||||
|
@ -27,4 +27,4 @@ libs = [ 'dspcore', 'audiocommon', 'common' ]
|
|||||||
if env['HAVE_WX']:
|
if env['HAVE_WX']:
|
||||||
libs += [ 'debugger_ui_util' ]
|
libs += [ 'debugger_ui_util' ]
|
||||||
|
|
||||||
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])
|
||||||
|
@ -34,4 +34,4 @@ if env['HAVE_WIIUSE']:
|
|||||||
libs += [ 'wiiuse' ]
|
libs += [ 'wiiuse' ]
|
||||||
files += [ 'wiimote_real.cpp' ]
|
files += [ 'wiimote_real.cpp' ]
|
||||||
|
|
||||||
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])
|
||||||
|
@ -14,6 +14,7 @@ files = [
|
|||||||
'WiimoteEmu/Attachment/Drums.cpp',
|
'WiimoteEmu/Attachment/Drums.cpp',
|
||||||
'WiimoteEmu/Attachment/Guitar.cpp',
|
'WiimoteEmu/Attachment/Guitar.cpp',
|
||||||
'WiimoteEmu/Attachment/Turntable.cpp',
|
'WiimoteEmu/Attachment/Turntable.cpp',
|
||||||
|
'WiimoteEmu/Attachment/Turntable.cpp',
|
||||||
'WiimoteEmu/EmuSubroutines.cpp',
|
'WiimoteEmu/EmuSubroutines.cpp',
|
||||||
'WiimoteEmu/Encryption.cpp',
|
'WiimoteEmu/Encryption.cpp',
|
||||||
'WiimoteEmu/Speaker.cpp',
|
'WiimoteEmu/Speaker.cpp',
|
||||||
@ -33,4 +34,4 @@ if env['HAVE_WIIUSE']:
|
|||||||
files += [ 'WiimoteReal/WiimoteReal.cpp' ]
|
files += [ 'WiimoteReal/WiimoteReal.cpp' ]
|
||||||
libs += [ 'wiiuse' ]
|
libs += [ 'wiiuse' ]
|
||||||
|
|
||||||
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user