File tree Expand file tree Collapse file tree 3 files changed +6
-3
lines changed
Expand file tree Collapse file tree 3 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -77,7 +77,8 @@ gyp -f ninja-android "${NSS_SRC_DIR}/nss/nss.gyp" \
7777 -Dsign_libs=0 \
7878 -Denable_sslkeylogfile=0 \
7979 -Ddisable_tests=1 \
80- -Ddisable_libpkix=1
80+ -Ddisable_libpkix=1 \
81+ -Dpython=python3
8182
8283GENERATED_DIR=" ${NSS_SRC_DIR} /nss/out/Release"
8384ninja -C " ${GENERATED_DIR} "
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ elif [[ "$(uname -s)" == "Darwin" ]] || [[ "$(uname -s)" == "Linux" ]]; then
7474 --opt \
7575 --static \
7676 --disable-tests \
77+ --python=python3 \
7778 -Ddisable_dbm=1 \
7879 -Dsign_libs=0 \
7980 -Ddisable_libpkix=1
Original file line number Diff line number Diff line change @@ -37,7 +37,7 @@ elif [[ "${ARCH}" == "arm64-sim" ]]; then
3737 TARGET=" aarch64-apple-darwin"
3838 GYP_ARCH=" arm64"
3939 # ARCH is used further down the line, but arm64-sim doesn't exist so we swap it back
40- # to the original
40+ # to the original
4141 ARCH=" arm64"
4242 EXTRA_TARGET=" arm64-apple-ios-simulator"
4343else
@@ -89,7 +89,8 @@ gyp -f ninja "${NSS_SRC_DIR}/nss/nss.gyp" \
8989 -Denable_sslkeylogfile=0 \
9090 -Ddisable_tests=1 \
9191 -Ddisable_libpkix=1 \
92- -Diphone_deployment_target=" ${IOS_MIN_SDK_VERSION} "
92+ -Diphone_deployment_target=" ${IOS_MIN_SDK_VERSION} " \
93+ -Dpython=python3
9394
9495GENERATED_DIR=" ${NSS_SRC_DIR} /nss/out/Release-$( echo ${OS_COMPILER} | tr ' [:upper:]' ' [:lower:]' ) /"
9596ninja -C " ${GENERATED_DIR} "
You can’t perform that action at this time.
0 commit comments