summaryrefslogtreecommitdiff
path: root/Python/dynload_shlib.c
diff options
context:
space:
mode:
authorMartin v. Löwis <martin@v.loewis.de>2001-09-05 14:24:43 +0000
committerMartin v. Löwis <martin@v.loewis.de>2001-09-05 14:24:43 +0000
commit2fcc4227a63b4cf513df2e42468c233793e8a9c2 (patch)
treef4473d6c6b4df79100e3ccce46dcb9a8dbb2ed81 /Python/dynload_shlib.c
parent1cb934358950a85d772e75d00ab8149622b028be (diff)
downloadcpython-2fcc4227a63b4cf513df2e42468c233793e8a9c2.tar.gz
Patch #455231: Support ELF properly on OpenBSD.
Diffstat (limited to 'Python/dynload_shlib.c')
-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 7de3b7d43e..78a9956858 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 ""