Skip to content

Commit 23a2ebe

Browse files
authored
Remove STDLIB_MODULE_FLAGS from ssl (#426)
1 parent 9e31340 commit 23a2ebe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

packages/ssl/meta.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ source:
1111
build:
1212
type: cpython_module
1313
script: |
14+
export PKG_CONFIG_PATH="${WASM_LIBRARY_DIR}/lib/pkgconfig"
1415
wget ${PYTHON_ARCHIVE_URL} -O Python-${PYVERSION}.tgz
1516
tar -xf Python-${PYVERSION}.tgz
1617
cd Python-${PYVERSION}
1718
1819
# OPENSSL_THREADS declares that OPENSSL is threadsafe. We are single threaded so everything is threadsafe.
19-
emcc $STDLIB_MODULE_CFLAGS -c Modules/_ssl.c -o _ssl.o \
20+
emcc $SIDE_MODULE_CFLAGS -I Include/ -I. -IInclude/internal/ -c Modules/_ssl.c -o _ssl.o \
2021
$(pkg-config --cflags --dont-define-prefix openssl) \
2122
-DOPENSSL_THREADS
2223

0 commit comments

Comments
 (0)