sync with php-bindings SConscript
This commit is contained in:
parent
0eab911258
commit
f1e6e1fa95
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue