aboutsummaryrefslogtreecommitdiff
path: root/extra/nodejs/build
diff options
context:
space:
mode:
Diffstat (limited to 'extra/nodejs/build')
-rwxr-xr-xextra/nodejs/build10
1 files changed, 10 insertions, 0 deletions
diff --git a/extra/nodejs/build b/extra/nodejs/build
new file mode 100755
index 00000000..59b7ad09
--- /dev/null
+++ b/extra/nodejs/build
@@ -0,0 +1,10 @@
+#!/bin/sh -e
+
+# Python 3 support (but not for > 3.5).
+sed -i 's/(3, 5)/(3, 8)/' configure
+
+./configure \
+ --prefix=/usr
+
+make
+make DESTDIR="$1" install