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