fine tune package, add example conf
[openwrt.git] / openwrt / package / ncurses / patches / 500-cross.patch
1 diff -ruN ncurses-5.2-orig/aclocal.m4 ncurses-5.2-6/aclocal.m4
2 --- ncurses-5.2-orig/aclocal.m4 2000-10-21 00:57:49.000000000 +0200
3 +++ ncurses-5.2-6/aclocal.m4 2005-08-09 14:50:15.000000000 +0200
4 @@ -1919,7 +1919,7 @@
5 EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
6 fi
7 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
8 - MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $[@] .$(REL_VERSION)`.$(ABI_VERSION),-stats,-lc -o $[@]'
9 + MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $[@] .$(REL_VERSION)`.$(ABI_VERSION),-stats,$(LDFLAGS) -lc -o $[@]'
10 ;;
11 openbsd2*)
12 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
13 diff -ruN ncurses-5.2-orig/configure ncurses-5.2-6/configure
14 --- ncurses-5.2-orig/configure 2000-10-21 00:58:49.000000000 +0200
15 +++ ncurses-5.2-6/configure 2005-08-09 14:50:25.000000000 +0200
16 @@ -2660,7 +2660,7 @@
17 EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
18 fi
19 test "$cf_cv_shlib_version" = auto && cf_cv_shlib_version=rel
20 - MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $@ .$(REL_VERSION)`.$(ABI_VERSION),-stats,-lc -o $@'
21 + MK_SHARED_LIB='$(CC) -shared -Wl,-soname,`basename $@ .$(REL_VERSION)`.$(ABI_VERSION),-stats,$(LDFLAGS) -lc -o $@'
22 ;;
23 openbsd2*)
24 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
This page took 0.044418 seconds and 5 git commands to generate.