From: Andy Polyakov Date: Tue, 24 Aug 2010 21:45:41 +0000 (+0000) Subject: engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X. X-Git-Tag: OpenSSL-fips-2_0-rc1~1005 X-Git-Url: https://git.openssl.org/?p=openssl.git;a=commitdiff_plain;h=f2c88f52825a35d89d179ec4e9e5039f33352750;ds=sidebyside engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X. PR: 2319 --- diff --git a/engines/Makefile b/engines/Makefile index e0242059b7..2fa9534401 100644 --- a/engines/Makefile +++ b/engines/Makefile @@ -114,7 +114,7 @@ install: if [ "$(PLATFORM)" != "Cygwin" ]; then \ case "$(CFLAGS)" in \ *DSO_BEOS*) sfx=".so";; \ - *DSO_DLFCN*) sfx=".so";; \ + *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ *DSO_DL*) sfx=".sl";; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *) sfx=".bad";; \ diff --git a/engines/ccgost/Makefile b/engines/ccgost/Makefile index 64be962f39..dadb5230ec 100644 --- a/engines/ccgost/Makefile +++ b/engines/ccgost/Makefile @@ -48,7 +48,7 @@ install: if [ "$(PLATFORM)" != "Cygwin" ]; then \ case "$(CFLAGS)" in \ *DSO_BEOS*) sfx=".so";; \ - *DSO_DLFCN*) sfx=".so";; \ + *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \ *DSO_DL*) sfx=".sl";; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *) sfx=".bad";; \