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:
Oliver Buchtala 2013-09-10 13:29:16 +03:00
commit 001f38c6a9
5 changed files with 28 additions and 32 deletions

View file

@ -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 = \