ebebc225c8304fb59bf60cf9b689bc366eb1a963
[openwrt/svn-archive/archive.git] / libs / ncurses / patches / 500-cross.patch
1 diff -ur ncurses-5.6/aclocal.m4 ncurses-5.6-owrt/aclocal.m4
2 --- ncurses-5.6/aclocal.m4 2006-12-17 17:12:38.000000000 +0100
3 +++ ncurses-5.6-owrt/aclocal.m4 2007-06-09 19:47:38.000000000 +0200
4 @@ -3816,7 +3816,7 @@
5 EXTRA_LDFLAGS="-Wl,-rpath,\${libdir} $EXTRA_LDFLAGS"
6 fi
7 CF_SHARED_SONAME
8 - MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,-lc -o $[@]'
9 + MK_SHARED_LIB='${CC} ${CFLAGS} -shared -Wl,-soname,'$cf_shared_soname',-stats,$(LDFLAGS) -lc -o $[@]'
10 ;;
11 openbsd2*)
12 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"