Skip to content

Commit 927d80b

Browse files
authored
Ensure that Hacl_Hash_SHA2 does not appear as a library to link to (#312)
1 parent ee9062d commit 927d80b

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

cpython-unix/extension-modules.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -427,17 +427,12 @@ _sha2:
427427
minimum-python-version: "3.12"
428428
sources:
429429
- sha2module.c
430+
- _hacl/Hacl_Hash_SHA2.c
430431
includes:
431432
- Modules/_hacl/include
432-
- Modules/_hacl/internal
433433
defines:
434434
- _BSD_SOURCE
435435
- _DEFAULT_SOURCE
436-
links:
437-
# Use the colon syntax to prevent the library dependency from getting
438-
# recorded in JSON metadata. This relies on setting up a linker library
439-
# path (-L) in LDFLAGS.
440-
- ":libHacl_Hash_SHA2.a"
441436

442437
_sha3:
443438
sources-conditional:

0 commit comments

Comments
 (0)