helps to link against the library...
This commit is contained in:
parent
55af8ac287
commit
150e91537b
1 changed files with 2 additions and 0 deletions
|
|
@ -5,6 +5,8 @@ pythonenv = env.Clone()
|
||||||
|
|
||||||
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'])
|
||||||
|
pythonenv.Append(LIBS = ['hammer'])
|
||||||
|
pythonenv.Append(LIBPATH = ['../../'])
|
||||||
pythonenv.Append(SWIGFLAGS = ['-DHAMMER_INTERNAL__NO_STDARG_H', '-Isrc/', '-python'])
|
pythonenv.Append(SWIGFLAGS = ['-DHAMMER_INTERNAL__NO_STDARG_H', '-Isrc/', '-python'])
|
||||||
|
|
||||||
pythonenv.Command("hammer.i", "../swig/hammer.i", Copy("$TARGET", "$SOURCE"))
|
pythonenv.Command("hammer.i", "../swig/hammer.i", Copy("$TARGET", "$SOURCE"))
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue