Remove automatic RPATH - adapt shlib_wrap.sh
authorRichard Levitte <levitte@openssl.org>
Wed, 12 Oct 2016 22:08:55 +0000 (00:08 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 13 Oct 2016 00:21:51 +0000 (02:21 +0200)
commit71d8ff1a8998da20db5ab8d4024c3d155b2f6733
tree42b93c2cafa78eb5db7d76054fca09831b5a2481
parentfad599f7f147ee71e5581211fb654c2c8c491cd8
Remove automatic RPATH - adapt shlib_wrap.sh

Looking for something starting with '-Wl,-rpath,' isn't good enough,
as someone might give something like '-Wl,--enable-new-dtags,-rpath,/PATH'.
Looking for ',-rpath,' should be safe enough.

We could remove the preloading stuff entirely, but just in case the
user has chosen to given RPATH setting arguments at configuration,
we'd better make sure testing will still work.  Fair warning, there
are some configuration options that do not work with preloaded OpenSSL
libraries, such as the sanity checking ones.

Reviewed-by: Rich Salz <rsalz@openssl.org>
util/shlib_wrap.sh.in