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 <levitte@openssl.org>
Thu, 3 Nov 2016 23:19:14 +0000 (00:19 +0100)
commit62dd3351a16089aedb0f1e62e3b6df371c93389c
treeaff53f7107d7077517a62a11d5e1605f1d0a7bb1
parent00bb5504cc62693e05ff4e699f379011c55ecc84
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)
test/recipes/90-test_shlibload.t
test/shlibloadtest.c