mirror of
git://git.yoctoproject.org/poky
synced 2026-08-14 02:40:42 +00:00
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@530 311d38ba-8fff-0310-9ca6-ca027cbcb966
28 lines
1.2 KiB
Diff
28 lines
1.2 KiB
Diff
|
|
#
|
|
# Made by http://www.mn-logistik.de/unsupported/pxa250/patcher
|
|
#
|
|
|
|
--- ncurses-4.2/aclocal.m4~mk_sharedlib
|
|
+++ ncurses-4.2/aclocal.m4
|
|
@@ -1201,7 +1201,7 @@
|
|
linux*)
|
|
# tested with Linux 2.0.29 and gcc 2.7.2 (ELF)
|
|
CC_SHARED_OPTS='-fPIC'
|
|
- MK_SHARED_LIB='gcc -o $[@].$(REL_VERSION) -L../lib -L\$(libdir) -shared -Wl,-soname,`basename $[@].$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
|
|
+ MK_SHARED_LIB='$(CC) -o $[@].$(REL_VERSION) -L../lib -shared -Wl,-soname,`basename $[@].$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
|
|
test $cf_cv_ld_rpath = yes && cf_ld_rpath_opt="-Wl,-rpath,"
|
|
if test $DFT_LWR_MODEL = "shared" ; then
|
|
LOCAL_LDFLAGS='-Wl,-rpath,../lib'
|
|
--- ncurses-4.2/configure~mk_sharedlib
|
|
+++ ncurses-4.2/configure
|
|
@@ -2216,7 +2216,7 @@
|
|
linux*)
|
|
# tested with Linux 2.0.29 and gcc 2.7.2 (ELF)
|
|
CC_SHARED_OPTS='-fPIC'
|
|
- MK_SHARED_LIB='gcc -o $@.$(REL_VERSION) -L../lib -L\$(libdir) -shared -Wl,-soname,`basename $@.$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
|
|
+ MK_SHARED_LIB='$(CC) -o $@.$(REL_VERSION) -L../lib -shared -Wl,-soname,`basename $@.$(ABI_VERSION)`,-stats,$(SHLIB_LIST)-lc'
|
|
test $cf_cv_ld_rpath = yes && cf_ld_rpath_opt="-Wl,-rpath,"
|
|
if test $DFT_LWR_MODEL = "shared" ; then
|
|
LOCAL_LDFLAGS='-Wl,-rpath,../lib'
|