engine/Makefile: harmonize engine install rule for .dylib extension on MacOS X.

PR: 2319
This commit is contained in:
Andy Polyakov 2010-08-24 21:45:41 +00:00
parent 836ea45350
commit f2c88f5282
2 changed files with 2 additions and 2 deletions

View file

@ -114,7 +114,7 @@ install:
if [ "$(PLATFORM)" != "Cygwin" ]; then \ if [ "$(PLATFORM)" != "Cygwin" ]; then \
case "$(CFLAGS)" in \ case "$(CFLAGS)" in \
*DSO_BEOS*) sfx=".so";; \ *DSO_BEOS*) sfx=".so";; \
*DSO_DLFCN*) sfx=".so";; \ *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
*DSO_DL*) sfx=".sl";; \ *DSO_DL*) sfx=".sl";; \
*DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
*) sfx=".bad";; \ *) sfx=".bad";; \

View file

@ -48,7 +48,7 @@ install:
if [ "$(PLATFORM)" != "Cygwin" ]; then \ if [ "$(PLATFORM)" != "Cygwin" ]; then \
case "$(CFLAGS)" in \ case "$(CFLAGS)" in \
*DSO_BEOS*) sfx=".so";; \ *DSO_BEOS*) sfx=".so";; \
*DSO_DLFCN*) sfx=".so";; \ *DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \
*DSO_DL*) sfx=".sl";; \ *DSO_DL*) sfx=".sl";; \
*DSO_WIN32*) sfx="eay32.dll"; pfx=;; \ *DSO_WIN32*) sfx="eay32.dll"; pfx=;; \
*) sfx=".bad";; \ *) sfx=".bad";; \