Skip to content

Commit 867ca9c

Browse files
committed
Revert hacl static linking changes (second through fourth prior commits)
We actually want a "shared" link by which they mean .o file.
1 parent ca86a80 commit 867ca9c

File tree

3 files changed

+0
-22
lines changed

3 files changed

+0
-22
lines changed

cpython-unix/build-cpython.sh

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ cat Makefile.extra
5858

5959
pushd Python-${PYTHON_VERSION}
6060

61-
if [ -n PYTHON_MEETS_MINIMUM_VERSION_3_14 ]; then
62-
# CPython only allows HACL* to be statically linked on WASI by default, undo that
63-
# See https://github.com/python/cpython/pull/132438
64-
patch -p1 -i ${ROOT}/patch-static-hacl-3.14.patch
65-
fi
66-
6761
# configure doesn't support cross-compiling on Apple. Teach it.
6862
if [ "${PYBUILD_PLATFORM}" = "macos" ]; then
6963
if [ -n "${PYTHON_MEETS_MINIMUM_VERSION_3_13}" ]; then

cpython-unix/extension-modules.yml

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -323,9 +323,6 @@ _hmac:
323323
defines:
324324
- _BSD_SOURCE
325325
- _DEFAULT_SOURCE
326-
linker-args:
327-
- args: ["-LModules/_hacl"]
328-
targets: []
329326

330327
_imp:
331328
config-c-only: true

cpython-unix/patch-static-hacl-3.14.patch

Lines changed: 0 additions & 13 deletions
This file was deleted.

0 commit comments

Comments
 (0)