|
|
b13877 |
diff -up readline-6.2/shlib/Makefile.in.shlib readline-6.2/shlib/Makefile.in
|
|
|
b13877 |
--- readline-6.2/shlib/Makefile.in.shlib 2010-12-28 21:56:21.000000000 +0100
|
|
|
b13877 |
+++ readline-6.2/shlib/Makefile.in 2011-02-14 17:34:38.821537496 +0100
|
|
|
b13877 |
@@ -170,7 +170,7 @@ $(SHARED_READLINE): $(SHARED_OBJ)
|
|
|
b13877 |
|
|
|
b13877 |
$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
|
|
b13877 |
$(RM) $@
|
|
|
b13877 |
- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
|
|
|
b13877 |
+ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
|
|
b13877 |
|
|
|
b13877 |
# Since tilde.c is shared between readline and bash, make sure we compile
|
|
|
b13877 |
# it with the right flags when it's built as part of readline
|
|
|
b13877 |
diff -up readline-6.2/support/shlib-install.shlib readline-6.2/support/shlib-install
|
|
|
b13877 |
--- readline-6.2/support/shlib-install.shlib 2009-10-28 14:30:18.000000000 +0100
|
|
|
b13877 |
+++ readline-6.2/support/shlib-install 2011-02-14 17:33:07.611768164 +0100
|
|
|
b13877 |
@@ -72,7 +72,7 @@ fi
|
|
|
b13877 |
case "$host_os" in
|
|
|
b13877 |
hpux*|darwin*|macosx*|linux*)
|
|
|
b13877 |
if [ -z "$uninstall" ]; then
|
|
|
b13877 |
- chmod 555 ${INSTALLDIR}/${LIBNAME}
|
|
|
b13877 |
+ chmod 755 ${INSTALLDIR}/${LIBNAME}
|
|
|
b13877 |
fi ;;
|
|
|
b13877 |
cygwin*|mingw*)
|
|
|
b13877 |
IMPLIBNAME=`echo ${LIBNAME} \
|
|
|
b13877 |
diff -up readline-6.2/support/shobj-conf.shlib readline-6.2/support/shobj-conf
|
|
|
b13877 |
--- readline-6.2/support/shobj-conf.shlib 2009-10-28 14:20:21.000000000 +0100
|
|
|
b13877 |
+++ readline-6.2/support/shobj-conf 2011-02-14 17:33:07.612767986 +0100
|
|
|
b13877 |
@@ -112,10 +112,11 @@ sunos5*|solaris2*)
|
|
|
b13877 |
linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*-gentoo)
|
|
|
b13877 |
SHOBJ_CFLAGS=-fPIC
|
|
|
b13877 |
SHOBJ_LD='${CC}'
|
|
|
b13877 |
- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
|
|
b13877 |
+ SHOBJ_LDFLAGS='$(CFLAGS) -shared -Wl,-soname,$@'
|
|
|
b13877 |
|
|
|
b13877 |
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
|
|
b13877 |
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
|
|
b13877 |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
|
|
|
b13877 |
+ SHLIB_LIBS='-ltinfo'
|
|
|
b13877 |
;;
|
|
|
b13877 |
|
|
|
b13877 |
freebsd2*)
|