openbsd-ports/lang/otcl/patches/patch-configure

25 lines
983 B
Plaintext
Raw Normal View History

$OpenBSD: patch-configure,v 1.3 2003/10/29 22:12:43 sturm Exp $
--- configure.orig 2003-08-20 00:43:44.000000000 -0400
+++ configure 2003-08-20 00:47:19.000000000 -0400
@@ -4213,16 +4213,16 @@ case $system in
2000-01-05 21:18:23 -05:00
DL_LIBS="-ldl"
SHLD_FLAGS="-Wl,-Bexport"
;;
- NetBSD-*|FreeBSD-*)
+ NetBSD-*|FreeBSD-*|OpenBSD-*)
# Not available on all versions: check for include file.
if test -e /usr/include/dlfcn.h; then
SHLIB_CFLAGS="-fpic"
- SHLIB_LD="ld -Bshareable"
2000-01-05 21:18:23 -05:00
- SHLIB_SUFFIX=".so"
+ SHLIB_LD="cc -shared"
+ SHLIB_SUFFIX=".so.1.0"
2000-01-05 21:18:23 -05:00
DL_LIBS=""
SHLD_FLAGS=""
else
- echo "NetBSD/FreeBSD with no support for dynamic loading"
+ echo "NetBSD/FreeBSD/OpenBSD with no support for dynamic loading"
echo " or shared libraries on this system."
SHLIB_CFLAGS=""
SHLIB_LD=": Skipping shared libaries"