Skip to content

Commit

Permalink
Remove setting of SSL_CERT_FILE from emsdk launcher script
Browse files Browse the repository at this point in the history
Since we use curl now (#1355) this should no longer be needed.
  • Loading branch information
sbc100 committed May 28, 2024
1 parent fc9146e commit ee1fbcd
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions emsdk
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,8 @@
# First look for python bundled in Emsdk
if [ -z "$EMSDK_PYTHON" ]; then
PYTHON3="$(dirname "$0")/python/3.9.2-1_64bit/bin/python3"
PYTHON3_CERT_FILE="$(dirname "$0")/python/3.9.2-1_64bit/lib/python3.9/site-packages/certifi/cacert.pem"
if [ ! -f "$PYTHON3" ]; then
PYTHON3="$(dirname "$0")/python/3.7.4-2_64bit/bin/python3"
PYTHON3_CERT_FILE="$(dirname "$0")/python/3.7.4-2_64bit/lib/python3.7/site-packages/certifi/cacert.pem"
fi
if [ -f "$PYTHON3" ]; then
EMSDK_PYTHON="$PYTHON3"
Expand All @@ -22,11 +20,6 @@ if [ -z "$EMSDK_PYTHON" ]; then
# https://github.com/emscripten-core/emsdk/issues/598
unset PYTHONHOME
unset PYTHONPATH

# This is needed for MacOS. Without this, the urlopen
# code will try to use /usr/local/etc/openssl/cert.pem
# which may or may not exist on the system.
export SSL_CERT_FILE="$PYTHON3_CERT_FILE"
fi
fi

Expand Down

0 comments on commit ee1fbcd

Please sign in to comment.