From f2c88f52825a35d89d179ec4e9e5039f33352750 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 24 Aug 2010 21:45:41 +0000 Subject: [PATCH 1/1] engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X. PR: 2319 --- engines/Makefile | 2 +- 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";; \ -- 2.34.1