aboutsummaryrefslogtreecommitdiffstats
path: root/package/libs/ncurses/patches/500-cross.patch
blob: 590bddf68ced4485aaf9f2ae92373baf7513b0fd (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/aclocal.m4
+++ b/aclocal.m4
@@ -5720,7 +5720,7 @@ CF_EOF
 			EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $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 $[@]'
 		;;
 	(mingw*)
 		cf_cv_shlib_version=mingw