Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 36546db

Browse files
committed
Patch #455231: Support ELF properly on OpenBSD.
1 parent 44f8696 commit 36546db

3 files changed

Lines changed: 249 additions & 267 deletions

File tree

Python/dynload_shlib.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
#endif
1717
#endif
1818

19-
#ifdef __OpenBSD__
19+
#if defined(__OpenBSD__) && !defined(__ELF__)
2020
#define LEAD_UNDERSCORE "_"
2121
#else
2222
#define LEAD_UNDERSCORE ""

0 commit comments

Comments
 (0)