Skip to content

Commit 34aa83e

Browse files
committed
Fix py2 for Emscripten 1.39.18
1 parent 79b9011 commit 34aa83e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

2.7.10/python.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,8 @@ emscripten () {
7575
# --disable-ipv6: browser-side networking
7676
# --disable-shared: compile statically for Emscripten perfs + incomplete PIC support
7777
if [ ! -e config.status ]; then
78-
CONFIG_SITE=../config.site BASECFLAGS='-s USE_ZLIB=1' \
78+
CONFIG_SITE=../config.site \
79+
BASECFLAGS='-s USE_ZLIB=1' LDFLAGS='-s USE_ZLIB=1' \
7980
PATH=$BUILD/Python-$VERSION/native:$PATH \
8081
emconfigure ../configure \
8182
--host=asmjs-unknown-emscripten --build=$(../config.guess) \

0 commit comments

Comments
 (0)