summaryrefslogtreecommitdiff
path: root/package/ncurses/patches/500-cross.patch
blob: b1e8d63f3e1f4a9bcef2b83f7cbb8010ed1de3d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -ur ncurses-5.6/aclocal.m4 ncurses-5.6-owrt/aclocal.m4
--- ncurses-5.6/aclocal.m4	2006-12-17 17:12:38.000000000 +0100
+++ ncurses-5.6-owrt/aclocal.m4	2007-06-09 19:47:38.000000000 +0200
@@ -4298,7 +4298,7 @@
 			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