mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-02-10 06:29:00 +01:00
![Maarten ter Huurne](/assets/img/avatar_default.png)
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"])
|