NeoBrainX 4153e6eee1 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
2010-10-05 18:10:06 +00:00

35 lines
653 B
Python

# -*- python -*-
Import('env')
import os
name = os.sep + "Plugin_DSP_HLE"
files = [
'DSPHandler.cpp',
'MailHandler.cpp',
'HLEMixer.cpp',
'main.cpp',
'Config.cpp',
'UCodes/UCode_AX.cpp',
'UCodes/UCode_AXWii.cpp',
'UCodes/UCode_CARD.cpp',
'UCodes/UCode_InitAudioSystem.cpp',
'UCodes/UCode_ROM.cpp',
'UCodes/UCodes.cpp',
'UCodes/UCode_GBA.cpp',
'UCodes/UCode_Zelda.cpp',
'UCodes/UCode_Zelda_ADPCM.cpp',
'UCodes/UCode_Zelda_Voice.cpp',
'UCodes/UCode_Zelda_Synth.cpp',
]
if env['HAVE_WX']:
files += [
'ConfigDlg.cpp'
]
libs = [ 'common', 'audiocommon' ]
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = libs + env['LIBS'])