summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-09-05 14:24:43 (GMT)
committerMartin v. Löwis <martin@v.loewis.de>2001-09-05 14:24:43 (GMT)
commit36546db7507273f9a1dffc6d8497c738b93f5fa2 (patch)
treee2c4fdadd9d30adcf4f9d597e73b2c73f08f609f /Python
parent44f8696171f8d9e29c82e250ed90351dfb207da2 (diff)
downloadcpython-36546db7507273f9a1dffc6d8497c738b93f5fa2.zip
cpython-36546db7507273f9a1dffc6d8497c738b93f5fa2.tar.gz
cpython-36546db7507273f9a1dffc6d8497c738b93f5fa2.tar.bz2
Patch #455231: Support ELF properly on OpenBSD.
Diffstat (limited to 'Python')
-rw-r--r--Python/dynload_shlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/dynload_shlib.c b/Python/dynload_shlib.c
index 7de3b7d..78a9956 100644
--- a/Python/dynload_shlib.c
+++ b/Python/dynload_shlib.c
@@ -16,7 +16,7 @@
#endif
#endif
-#ifdef __OpenBSD__
+#if defined(__OpenBSD__) && !defined(__ELF__)
#define LEAD_UNDERSCORE "_"
#else
#define LEAD_UNDERSCORE ""