mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-23 06:09:50 -06:00
Get rid of a number of unnecessary env.Clones.
Use SCons' convenient # shorthand for the root of our tree. Also various minor cleanup of SConscripts. git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@5915 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -1,8 +1,6 @@
|
||||
|
||||
# -*- python -*-
|
||||
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
name = "Plugin_DSP_LLE"
|
||||
|
||||
@ -17,21 +15,15 @@ files = [
|
||||
]
|
||||
|
||||
if env['HAVE_WX']:
|
||||
files += [
|
||||
"DSPConfigDlgLLE.cpp",
|
||||
"Debugger/DSPDebugWindow.cpp",
|
||||
"Debugger/DSPRegisterView.cpp",
|
||||
files += [
|
||||
"DSPConfigDlgLLE.cpp",
|
||||
"Debugger/DSPDebugWindow.cpp",
|
||||
"Debugger/DSPRegisterView.cpp",
|
||||
]
|
||||
|
||||
lleenv = env.Clone()
|
||||
libs = [ 'dspcore', 'audiocommon', 'common' ]
|
||||
|
||||
if env['HAVE_WX']:
|
||||
lleenv.Append(
|
||||
LIBS = [ 'dspcore', 'audiocommon', 'common', 'debugger_ui_util' ],
|
||||
)
|
||||
else:
|
||||
lleenv.Append(
|
||||
LIBS = [ 'dspcore', 'audiocommon', 'common' ],
|
||||
)
|
||||
libs += [ 'debugger_ui_util' ]
|
||||
|
||||
lleenv.SharedLibrary(env['plugin_dir']+name, files)
|
||||
env.SharedLibrary(env['plugin_dir'] + name, files, LIBS = env['LIBS'] + libs)
|
||||
|
Reference in New Issue
Block a user