mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 17:19:10 +01:00
59974dfb5b
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@329 8ced0084-cf51-0410-be5f-012b33b47a6e
25 lines
538 B
Python
25 lines
538 B
Python
Import('env')
|
|
import sys
|
|
|
|
if sys.platform == 'darwin':
|
|
output = "../../../../Binary/mac/Plugins/Plugin_nJoy_SDL.so"
|
|
else:
|
|
output = "../../../../Binary/linux/Plugins/Plugin_nJoy_SDL.so"
|
|
|
|
files = [
|
|
"nJoy.cpp",
|
|
"GUI/AboutBox.cpp",
|
|
"GUI/ConfigBox.cpp",
|
|
]
|
|
|
|
padenv = env.Copy()
|
|
padenv.Append(
|
|
CXXFLAGS = ' ' + ' '.join([
|
|
'-fPIC', '`wx-config --cppflags`', '`pkg-config --cflags sdl`'
|
|
]),
|
|
LINKFLAGS = ' ' + ' '.join([
|
|
'`wx-config --libs`', '`pkg-config --libs sdl`'
|
|
])
|
|
)
|
|
padenv.SharedLibrary(output, files, LIBS = [ "common" ])
|