aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses/patches/500-cross.patch
blob: 976a3cba2a177869001bed0d4cdbb9951473d846 (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -5137,7 +5137,7 @@ CF_EOF
 			EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${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]].*) #(vi
 		if test "$DFT_LWR_MODEL" = "shared" ; then