mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-12 09:09:12 +01:00
2c74f66070
git-svn-id: https://dolphin-emu.googlecode.com/svn/trunk@1158 8ced0084-cf51-0410-be5f-012b33b47a6e
27 lines
434 B
Python
27 lines
434 B
Python
# -*- python -*-
|
|
|
|
Import('env')
|
|
import sys
|
|
|
|
name = "Plugin_Wiimote"
|
|
|
|
files = [
|
|
"Wiimote.cpp",
|
|
]
|
|
|
|
padenv = env.Clone()
|
|
|
|
if padenv['osx64']:
|
|
padenv.Append(
|
|
CXXFLAGS = [ '-arch', 'x86_64' ],
|
|
LINKFLAGS = [ '-arch', 'x86_64' ],
|
|
LIBS = [ 'common' ],
|
|
)
|
|
else:
|
|
padenv.Append(
|
|
CXXFLAGS = [ '-fPIC' ],
|
|
LIBS = [ 'common' ],
|
|
)
|
|
|
|
padenv.SharedLibrary(env['plugin_dir']+name, files)
|