[zeromq-dev] [PATCH] configure.in: Do not patch libtool rpath handling
Martin Lucina
mato at kotelna.sk
Mon Oct 11 16:04:19 CEST 2010
For historic reasons (mainly compatbility with really old libtool), configure was
patching libtool to not use rpath in binaries. This breaks (among other things)
correct operation of "make check" since the test binaries may not be run with
the correct shared library version.
Current best practice as seen e.g. at http://wiki.debian.org/RpathIssue suggests
that this is no longer an issue, so I'm removing the code that patches libtool.
Signed-off-by: Martin Lucina <mato at kotelna.sk>
---
configure.in | 11 -----------
1 files changed, 0 insertions(+), 11 deletions(-)
diff --git a/configure.in b/configure.in
index 25a4eed..f6d0ca8 100644
--- a/configure.in
+++ b/configure.in
@@ -363,14 +363,3 @@ AC_OUTPUT(Makefile src/Makefile doc/Makefile
devices/zmq_streamer/Makefile devices/zmq_queue/Makefile \
builds/msvc/Makefile)
-# On Linux patch libtool to delete hardcoded paths (rpath).
-case "${host_os}" in
- *linux*)
- sed < libtool > libtool-2 \
- 's/^hardcode_libdir_flag_spec.*$'/'hardcode_libdir_flag_spec=" "/'
- mv libtool-2 libtool
- chmod 755 libtool
- ;;
-esac
-
-
--
1.7.1
More information about the zeromq-dev
mailing list