Skip to content

Commit

Permalink
Link wiiuse statically in linux.
Browse files Browse the repository at this point in the history
Fixes issue 2562


git-svn-id: https://dolphin-emu.googlecode.com/svn/branches/stable@5384 8ced0084-cf51-0410-be5f-012b33b47a6e
  • Loading branch information
glennricster committed Apr 18, 2010
1 parent 1b7065d commit 88156cf
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Externals/WiiUseSrc/Src/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 88156cf

Please sign in to comment.