summaryrefslogtreecommitdiff
path: root/Examples
diff options
context:
space:
mode:
authorOlly Betts <olly@survex.com>2022-11-30 13:45:31 +1300
committerOlly Betts <olly@survex.com>2023-04-22 13:33:46 +1200
commitb508598a42b80f9e63f6ebbaf04fdbfee30ea2a2 (patch)
tree271c454ee90a1a47d1029811f76be80cca792775 /Examples
parentd85fe418a8c7a074a5e985ff531724919ea0fceb (diff)
downloadswig-b508598a42b80f9e63f6ebbaf04fdbfee30ea2a2.tar.gz
[js] Turn on C++ output for node too
Nodejs is like V8 and needs C++ output enabled when wrapping C code. The testsuite was masking this bug by using SWIG options `-v8 -DBUILDING_NODE_EXTENSION=1` rather than `-node` when testing with nodejs, while the javascript examples currently all seem to all get processed with -c++.
Diffstat (limited to 'Examples')
-rw-r--r--Examples/test-suite/javascript/Makefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/Examples/test-suite/javascript/Makefile.in b/Examples/test-suite/javascript/Makefile.in
index 4835453cc..a124a068f 100644
--- a/Examples/test-suite/javascript/Makefile.in
+++ b/Examples/test-suite/javascript/Makefile.in
@@ -49,7 +49,7 @@ _setup = \
ifeq (node,$(JSENGINE))
- SWIGOPT += -v8 -DBUILDING_NODE_EXTENSION=1
+ SWIGOPT += -node
# shut up some warnings