aboutsummaryrefslogtreecommitdiff
path: root/extra/nodejs/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
committerCem Keylan <cem@ckyln.com>2019-12-09 19:17:24 +0300
commit03423e0583057cbe5a16f8439183e2dbc0e8dd7c (patch)
tree81fe3ba69d94146f83fb5541d1fb2da0ac4eac08 /extra/nodejs/build
downloadrepository-03423e0583057cbe5a16f8439183e2dbc0e8dd7c.tar.gz
secondary commit
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