Blame SOURCES/readline-8.0-shlib.patch
|
|
84597e |
diff --git a/shlib/Makefile.in b/shlib/Makefile.in
|
|
|
84597e |
index d138524..b68b0cc 100644
|
|
|
84597e |
--- a/shlib/Makefile.in
|
|
|
84597e |
+++ b/shlib/Makefile.in
|
|
|
84597e |
@@ -178,7 +178,7 @@ $(SHARED_READLINE): $(SHARED_OBJ)
|
|
|
84597e |
|
|
|
84597e |
$(SHARED_HISTORY): $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
|
|
84597e |
$(RM) $@
|
|
|
84597e |
- $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so $(SHLIB_LIBS)
|
|
|
84597e |
+ $(SHOBJ_LD) ${SHOBJ_LDFLAGS} ${SHLIB_XLDFLAGS} -o $@ $(SHARED_HISTOBJ) xmalloc.so xfree.so
|
|
|
84597e |
|
|
|
84597e |
# Since tilde.c is shared between readline and bash, make sure we compile
|
|
|
84597e |
# it with the right flags when it's built as part of readline
|
|
|
84597e |
diff --git a/support/shobj-conf b/support/shobj-conf
|
|
|
84597e |
index 5a3f977..0668a33 100644
|
|
|
84597e |
--- a/support/shobj-conf
|
|
|
84597e |
+++ b/support/shobj-conf
|
|
|
84597e |
@@ -126,10 +126,11 @@ sunos5*|solaris2*)
|
|
|
84597e |
linux*-*|gnu*-*|k*bsd*-gnu-*|freebsd*|dragonfly*)
|
|
|
84597e |
SHOBJ_CFLAGS=-fPIC
|
|
|
84597e |
SHOBJ_LD='${CC}'
|
|
|
84597e |
- SHOBJ_LDFLAGS='-shared -Wl,-soname,$@'
|
|
|
84597e |
+ SHOBJ_LDFLAGS='$(CFLAGS) -shared -Wl,-soname,$@'
|
|
|
84597e |
|
|
|
84597e |
- SHLIB_XLDFLAGS='-Wl,-rpath,$(libdir) -Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
|
|
84597e |
+ SHLIB_XLDFLAGS='-Wl,-soname,`basename $@ $(SHLIB_MINOR)`'
|
|
|
84597e |
SHLIB_LIBVERSION='$(SHLIB_LIBSUFF).$(SHLIB_MAJOR)$(SHLIB_MINOR)'
|
|
|
84597e |
+ SHLIB_LIBS='-ltinfo'
|
|
|
84597e |
;;
|
|
|
84597e |
|
|
|
84597e |
# Darwin/MacOS X
|