View | Details | Raw Unified | Return to bug 196592
Collapse All | Expand All

(-)files/patch-aclocal.m4 (+11 lines)
Added Link Here
1
--- aclocal.m4.orig	2015-01-06 18:02:30 UTC
2
+++ aclocal.m4
3
@@ -5688,7 +5688,7 @@ CF_EOF
4
 			EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $EXTRA_LDFLAGS"
5
 		fi
6
 		CF_SHARED_SONAME
7
-		MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]'
8
+		MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,`basename $[@]` -o $[@]'
9
 		;;
10
 	netbsd*) #(vi
11
 		CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
(-)files/patch-configure (+11 lines)
Added Link Here
1
--- configure.orig	2015-01-06 18:02:40 UTC
2
+++ configure
3
@@ -6201,7 +6201,7 @@ CF_EOF
4
 		cf_cv_shared_soname='`basename $@`'
5
 	fi
6
 
7
-		MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $@` -o $@'
8
+		MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,`basename $@` -o $@'
9
 		;;
10
 	netbsd*) #(vi
11
 		CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"

Return to bug 196592