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
5 EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
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 $[@]'
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
17 EXTRA_LDFLAGS="$LOCAL_LDFLAGS $EXTRA_LDFLAGS"
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 $@'
24 CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"