From 7ab652bd9bc6f4137b4ef84c12d822d83de6ca55 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Tue, 10 Mar 2020 09:37:41 +0200 Subject: [PATCH] nodejs: Fix build with python 3. Closes #167 --- extra/nodejs/build | 3 +++ 1 file changed, 3 insertions(+) diff --git a/extra/nodejs/build b/extra/nodejs/build index 8e94e1b5..cf85684f 100755 --- a/extra/nodejs/build +++ b/extra/nodejs/build @@ -1,5 +1,8 @@ #!/bin/sh -e +# Fix a python 3 incompatibility. +sed -i 's|/ (8|// (8|' tools/gyp/pylib/gyp/generator/ninja.py + ./configure \ --shared-zlib \ --without-intl \