nodejs: fix build with python 3.9. Closes #1363

This commit is contained in:
Dylan Araps 2020-10-07 12:28:09 +03:00
parent 4206968223
commit d32ec62866
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -1,7 +1,8 @@
#!/bin/sh -e
# Fix a python 3 incompatibility.
# Fix python 3.
sed -i 's|/ (8|// (8|' tools/gyp/pylib/gyp/generator/ninja.py
sed -i 's|(3, 8)|(3, 9), (3, 8)|g' configure
./configure \
--shared-zlib \