sync with php-bindings SConscript

This commit is contained in:
Meredith L. Patterson 2013-11-17 20:56:03 -06:00
parent 150e91537b
commit 8fcad1e72a

View file

@ -1,7 +1,7 @@
# -*- python -*-
Import('env')
pythonenv = env.Clone()
pythonenv = env.Clone(IMPLICIT_COMMAND_DEPENDENCIES = 0)
pythonenv.Append(CPPPATH = ['../../', '/usr/include/python2.7'])
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']
libhammer_python = pythonenv.SharedLibrary('hammer', swig)
libhammer_python = pythonenv.SharedLibrary('hammer', swig)