From 73b408c242e654165e3310c6aa1a528cf3816b29 Mon Sep 17 00:00:00 2001 From: Andy Polyakov Date: Tue, 24 Aug 2010 21:46:58 +0000 Subject: [PATCH] engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X [from HEAD]. 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.25.1