43 lines
1.2 KiB
Text
43 lines
1.2 KiB
Text
$NetBSD: patch-aa,v 1.3 2018/01/26 09:48:46 jperkin Exp $
|
|
|
|
--- configure.orig 2012-02-19 20:20:34.000000000 +0000
|
|
+++ configure
|
|
@@ -5980,7 +5980,7 @@ $as_echo "$bakefile_cv_gcc31" >&6; }
|
|
SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
|
|
fi
|
|
|
|
- if test "x$GCC" == "xyes"; then
|
|
+ if test "x$GCC" = "xyes"; then
|
|
PIC_FLAG="-dynamic -fPIC"
|
|
fi
|
|
if test "x$XLCC" = "xyes"; then
|
|
@@ -6548,6 +6548,7 @@ EOF
|
|
;;
|
|
|
|
powerpc-apple-macos* | \
|
|
+ *-*-dragonfly* | \
|
|
*-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
|
|
*-*-mirbsd* | \
|
|
*-*-sunos4* | \
|
|
@@ -6590,7 +6591,7 @@ EOF
|
|
|
|
case "${BAKEFILE_HOST}" in
|
|
*-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
|
|
- *-*-k*bsd*-gnu | *-*-mirbsd* )
|
|
+ *-*-dragonfly* | *-*-k*bsd*-gnu | *-*-mirbsd* )
|
|
if test "x$SUNCXX" = "xyes"; then
|
|
SONAME_FLAG="-h "
|
|
else
|
|
@@ -6602,9 +6603,10 @@ EOF
|
|
;;
|
|
|
|
*-*-solaris2* )
|
|
- SONAME_FLAG="-h "
|
|
+ SONAME_FLAG="-Wl,-h,"
|
|
USE_SOVERSION=1
|
|
- USE_SOVERSOLARIS=1
|
|
+ USE_SOVERLINUX=1
|
|
+ USE_SOTWOSYMLINKS=1
|
|
;;
|
|
|
|
*-*-darwin* )
|