From 57428db89885631128cb9a48b334b050eb83a512 Mon Sep 17 00:00:00 2001 From: Martin Lucina Date: Mon, 11 Oct 2010 16:39:48 +0200 Subject: configure.in: Do not patch libtool rpath handling 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 --- configure.in | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/configure.in b/configure.in index b2dd93c..405f27c 100644 --- a/configure.in +++ b/configure.in @@ -365,14 +365,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 - - -- cgit v1.2.3