Don't assume to know the shared library extension
authorRichard Levitte <levitte@openssl.org>
Thu, 3 Nov 2016 17:48:23 +0000 (18:48 +0100)
committerRichard Levitte <richard@levitte.org>
Thu, 3 Nov 2016 23:19:50 +0000 (00:19 +0100)
commit8f8e9f184bf51fa283c1af9c4fd63098fc7387dd
tree5c985057ab74b7f8fd0d2c77fae3286daa291b83
parent0d325d9cb9ecb10cb1d41f64751ca8d8f2df472b
Don't assume to know the shared library extension

test/shlibloadtest.c assumes all Unix style platforms use .so as
shared library extension.  This is not the case for Mac OS X, which
uses .dylib.  Instead of this, have the test recipe find out the
extension from configuration data.

Reviewed-by: Matt Caswell <matt@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/1844)
(cherry picked from commit 62dd3351a16089aedb0f1e62e3b6df371c93389c)
test/recipes/90-test_shlibload.t
test/shlibloadtest.c