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