Link wiiuse statically in linux.
Fixes issue 2562 git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5384 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
parent
b31042cb10
commit
9095b4d67f
|
@ -34,15 +34,13 @@ else:
|
|||
env_wiiuse = env.Clone(
|
||||
CCFLAGS = env.filterWarnings(env['CCFLAGS']) + ' -fvisibility=default',
|
||||
CXXFLAGS = env.filterWarnings(env['CXXFLAGS']),
|
||||
parse_flags = ['-fPIC']
|
||||
)
|
||||
|
||||
libs = [
|
||||
'm',
|
||||
]
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
env_wiiuse.StaticLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)
|
||||
else:
|
||||
env_wiiuse.SharedLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)
|
||||
env_wiiuse.StaticLibrary(env['libs_dir']+"wiiuse", files, LIBS=libs)
|
||||
|
||||
env['HAVE_WIIUSE'] = 1
|
||||
|
|
Loading…
Reference in New Issue