backports swig is named swig3.0, so fix that across bindings
This commit is contained in:
parent
863c1c093b
commit
9ee4fbd87c
4 changed files with 4 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ phpenv.Append(LIBS = ['hammer'])
|
|||
phpenv.Append(LIBPATH = ['../../'])
|
||||
|
||||
swig = ['hammer.i']
|
||||
bindings_src = phpenv.Command(['hammer.php', 'hammer_wrap.c', 'php_hammer.h'], swig, 'swig -php -DHAMMER_INTERNAL__NO_STDARG_H -Isrc/ $SOURCE')
|
||||
bindings_src = phpenv.Command(['hammer.php', 'hammer_wrap.c', 'php_hammer.h'], swig, 'swig3.0 -php -DHAMMER_INTERNAL__NO_STDARG_H -Isrc/ $SOURCE')
|
||||
libhammer_php = phpenv.SharedLibrary('hammer', ['hammer_wrap.c'])
|
||||
Default(swig, bindings_src, libhammer_php)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue