Commit 57428db8 authored by Martin Lucina's avatar Martin Lucina Committed by Martin Sustrik

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: 's avatarMartin Lucina <mato@kotelna.sk>
parent 6cd0867f
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment