mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:48:15 +00:00
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 <mato@kotelna.sk>
This commit is contained in:
parent
6cd0867f02
commit
57428db898
11
configure.in
11
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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user