sync with php-bindings SConscript

This commit is contained in:
Meredith L. Patterson 2013-11-17 20:56:03 -06:00 committed by Dan Hirsch
parent 27f94dbe61
commit 4bd2fc9e72

View file

@ -1,7 +1,7 @@
# -*- python -*- # -*- python -*-
Import('env') Import('env')
pythonenv = env.Clone() pythonenv = env.Clone(IMPLICIT_COMMAND_DEPENDENCIES = 0)
pythonenv.Append(CPPPATH = ['../../', '/usr/include/python2.7']) pythonenv.Append(CPPPATH = ['../../', '/usr/include/python2.7'])
pythonenv.Append(CCFLAGS = ['-fpic', '-DSWIG', '-Wno-all', '-Wno-extra', '-Wno-error']) pythonenv.Append(CCFLAGS = ['-fpic', '-DSWIG', '-Wno-all', '-Wno-extra', '-Wno-error'])
@ -13,4 +13,4 @@ pythonenv.Command("hammer.i", "../swig/hammer.i", Copy("$TARGET", "$SOURCE"))
swig = ['hammer.i'] swig = ['hammer.i']
libhammer_python = pythonenv.SharedLibrary('hammer', swig) libhammer_python = pythonenv.SharedLibrary('hammer', swig)