Patch to fix python15 for OpenBSD ELF.
This commit is contained in:
parent
8277be43d0
commit
b1b48e4d7c
22
lang/python15/patches/patch-configure_in
Normal file
22
lang/python15/patches/patch-configure_in
Normal file
@ -0,0 +1,22 @@
|
||||
$OpenBSD: patch-configure_in,v 1.1 2001/10/16 18:46:00 drahn Exp $
|
||||
--- configure.in.orig Tue Oct 16 10:18:35 2001
|
||||
+++ configure.in Tue Oct 16 10:19:36 2001
|
||||
@@ -468,7 +468,8 @@ then
|
||||
Linux*) LDSHARED="gcc -shared";;
|
||||
dgux*) LDSHARED="ld -G";;
|
||||
FreeBSD*/3*) LDSHARED="gcc -shared";;
|
||||
- FreeBSD*|OpenBSD*) LDSHARED="ld -Bshareable";;
|
||||
+ FreeBSD*) LDSHARED="ld -Bshareable";;
|
||||
+ OpenBSD*) LDSHARED="cc -shared";;
|
||||
NetBSD*)
|
||||
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
|
||||
then
|
||||
@@ -521,7 +522,7 @@ then
|
||||
# loading of any modules which reference it in System.framework
|
||||
next/4*|next/5*) LINKFORSHARED="-u __dummy -framework System" ;;
|
||||
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
|
||||
- NetBSD*)
|
||||
+ NetBSD*|OpenBSD*)
|
||||
if [[ "`$CC -dM -E - </dev/null | grep __ELF__`" != "" ]]
|
||||
then
|
||||
LINKFORSHARED="-Wl,--export-dynamic"
|
Loading…
Reference in New Issue
Block a user