diff options
author | Andy Polyakov <appro@openssl.org> | 2010-08-24 21:46:58 +0000 |
---|---|---|
committer | Andy Polyakov <appro@openssl.org> | 2010-08-24 21:46:58 +0000 |
commit | 73b408c242e654165e3310c6aa1a528cf3816b29 (patch) | |
tree | 34f41fa82293f380b2c8cd04d272e338653af0f4 /engines | |
parent | 51c9eb321a6938446615e127b1c768b57554d9b0 (diff) |
engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X [from HEAD].
PR: 2319
Diffstat (limited to 'engines')
-rw-r--r-- | engines/Makefile | 2 | ||||
-rw-r--r-- | engines/ccgost/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
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";; \ |