Skip to content

Commit 4a04381

Browse files
committed
Call node configure script directly
Let node figure out the snake business.
1 parent 4d01c03 commit 4a04381

File tree

1 file changed

+1
-7
lines changed

1 file changed

+1
-7
lines changed

libexec/build-libv8

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,6 @@ BUILDTYPE="${BUILDTYPE:-Release}"
1717

1818
cd "${src}/node-v${version}"
1919

20-
if command -v python3 >/dev/null 2>&1; then
21-
PYTHON="${PYTHON:-python3}"
22-
else
23-
PYTHON="${PYTHON:-python2}"
24-
fi
25-
2620
configure_flags='--openssl-no-asm --without-npm --shared --with-intl=full-icu'
2721
eval "$("${libexec}/platform")"
2822

@@ -33,7 +27,7 @@ ${CC} -v
3327
${CXX} -v
3428

3529
# shellcheck disable=SC2086
36-
"${PYTHON}" configure ${configure_flags}
30+
./configure ${configure_flags}
3731

3832
make BUILDTYPE="${BUILDTYPE}" config.gypi
3933
make BUILDTYPE="${BUILDTYPE}" "out/Makefile"

0 commit comments

Comments
 (0)