mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-22 22:00:39 -06:00
Append to LIBS instead of overriding. Fixes build problems on Mac OS X.
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@622 8ced0084-cf51-0410-be5f-012b33b47a6e
This commit is contained in:
@ -3,6 +3,11 @@
|
||||
Import('env')
|
||||
import sys
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
output = "../../../../Binary/mac/Plugins/dsphle.so"
|
||||
else:
|
||||
output = "../../../../Binary/linux/Plugins/dsphle.so"
|
||||
|
||||
files = [
|
||||
"DSPHandler.cpp",
|
||||
"MailHandler.cpp",
|
||||
@ -22,10 +27,7 @@ files = [
|
||||
|
||||
dspenv = env.Clone()
|
||||
dspenv.Append(
|
||||
CXXFLAGS = [ '-fPIC', ],
|
||||
CXXFLAGS = [ '-fPIC' ],
|
||||
LIBS = [ 'common' ],
|
||||
)
|
||||
|
||||
if sys.platform == 'darwin':
|
||||
dspenv.SharedLibrary("../../../../Binary/mac/Plugins/dsphle.so", files, LIBS = ["common"])
|
||||
else:
|
||||
dspenv.SharedLibrary("../../../../Binary/linux/Plugins/dsphle.so", files, LIBS = ["common"])
|
||||
dspenv.SharedLibrary(output, files)
|
||||
|
Reference in New Issue
Block a user