Fix settings for building nodejs tests.
Removed the `-node` command line flag. Instead one has to use `-v8 -DBUILDING_NODE_EXTENSION=1`.
This commit is contained in:
parent
be35d94fdb
commit
001f38c6a9
5 changed files with 28 additions and 32 deletions
|
|
@ -88,7 +88,7 @@ ifeq ("node",$(JSENGINE))
|
|||
__setup = \
|
||||
if [ ! -f $(srcdir)/$*/binding.gyp ]; then \
|
||||
sh ./setup_test.sh $*; \
|
||||
$(SWIG) -c++ -javascript -node -o $*/$*_wrap.cxx ../$*.i; \
|
||||
$(SWIG) -c++ -javascript -v8 -DBUILDING_NODE_EXTENSION=1 -I$(top_srcdir)/Examples/test-suite -includeall -o $*/$*_wrap.cxx ../$*.i; \
|
||||
fi
|
||||
|
||||
nodejs_swig_and_compile = \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue