summaryrefslogtreecommitdiffstats
path: root/engines
diff options
context:
space:
mode:
authorAndy Polyakov <appro@openssl.org>2010-08-24 21:45:41 +0000
committerAndy Polyakov <appro@openssl.org>2010-08-24 21:45:41 +0000
commitf2c88f52825a35d89d179ec4e9e5039f33352750 (patch)
tree467f55cea9fc6de66f6927a3b41f940080aed7c1 /engines
parent836ea453502a51458b6278dd4665380cea9c5f5d (diff)
engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X.
PR: 2319
Diffstat (limited to 'engines')
-rw-r--r--engines/Makefile2
-rw-r--r--engines/ccgost/Makefile2
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";; \