From 88156cff052a37b7d4a7371c65964c984644f24e Mon Sep 17 00:00:00 2001 From: Glenn Rice Date: Sun, 18 Apr 2010 14:50:21 +0000 Subject: [PATCH] Link wiiuse statically in linux. Fixes issue 2562 git-svn-id: https://dolphin-emu.googlecode.com/svn/branches/stable@5384 8ced0084-cf51-0410-be5f-012b33b47a6e --- Externals/WiiUseSrc/Src/SConscript | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/Externals/WiiUseSrc/Src/SConscript b/Externals/WiiUseSrc/Src/SConscript index e4b16f14970b..9de567838537 100644 --- a/Externals/WiiUseSrc/Src/SConscript +++ b/Externals/WiiUseSrc/Src/SConscript @@ -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