Skip to content

Commit fc23aec

Browse files
Beatriz Rizentalbendk
authored andcommitted
Always use python3 and not python
1 parent 13c4c73 commit fc23aec

File tree

3 files changed

+6
-3
lines changed

3 files changed

+6
-3
lines changed

libs/build-nss-android.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff 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

8283
GENERATED_DIR="${NSS_SRC_DIR}/nss/out/Release"
8384
ninja -C "${GENERATED_DIR}"

libs/build-nss-desktop.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff 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

libs/build-nss-ios.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff 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"
4343
else
@@ -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

9495
GENERATED_DIR="${NSS_SRC_DIR}/nss/out/Release-$(echo ${OS_COMPILER} | tr '[:upper:]' '[:lower:]')/"
9596
ninja -C "${GENERATED_DIR}"

0 commit comments

Comments
 (0)