summaryrefslogtreecommitdiffstats
path: root/package/ncurses/patches/500-cross.patch
blob: ace6252fe605fa68419e3b5a820c53a6455a3a52 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -4298,7 +4298,7 @@ CF_EOF
 			EXTRA_LDFLAGS="-Wl,-rpath,\${libdir} $EXTRA_LDFLAGS"
 		fi
 		CF_SHARED_SONAME
-		MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_cv_shared_soname',-stats,-lc -o $[@]'
+		MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]'
 		;;
 	openbsd[[2-9]].*)
 		if test "$DFT_LWR_MODEL" = "shared" ; then