3 # Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
6 --- ncurses-4.2/aclocal.m4~mk_sharedlib
7 +++ ncurses-4.2/aclocal.m4
10 # tested with Linux 2.0.29 and gcc 2.7.2 (ELF)
11 CC_SHARED_OPTS='-fPIC'
12 - MK_SHARED_LIB='gcc -o $[@].$(REL_VERSION) -L../lib -L\$(libdir) -shared -Wl,-soname,`basename $[@].$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
13 + MK_SHARED_LIB='$(CC) -o $[@].$(REL_VERSION) -L../lib -shared -Wl,-soname,`basename $[@].$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
14 test $cf_cv_ld_rpath = yes && cf_ld_rpath_opt="-Wl,-rpath,"
15 if test $DFT_LWR_MODEL = "shared" ; then
16 LOCAL_LDFLAGS='-Wl,-rpath,../lib'
17 --- ncurses-4.2/configure~mk_sharedlib
18 +++ ncurses-4.2/configure
21 # tested with Linux 2.0.29 and gcc 2.7.2 (ELF)
22 CC_SHARED_OPTS='-fPIC'
23 - MK_SHARED_LIB='gcc -o $@.$(REL_VERSION) -L../lib -L\$(libdir) -shared -Wl,-soname,`basename $@.$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
24 + MK_SHARED_LIB='$(CC) -o $@.$(REL_VERSION) -L../lib -shared -Wl,-soname,`basename $@.$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
25 test $cf_cv_ld_rpath = yes && cf_ld_rpath_opt="-Wl,-rpath,"
26 if test $DFT_LWR_MODEL = "shared" ; then
27 LOCAL_LDFLAGS='-Wl,-rpath,../lib'