summaryrefslogtreecommitdiffstats
path: root/engines/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'engines/Makefile')
-rw-r--r--engines/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/Makefile b/engines/Makefile
index 2fa9534401..a00a911a6d 100644
--- a/engines/Makefile
+++ b/engines/Makefile
@@ -111,7 +111,7 @@ install:
for l in $(LIBNAMES); do \
( echo installing $$l; \
pfx=lib; \
- if [ "$(PLATFORM)" != "Cygwin" ]; then \
+ if ! expr "$(PLATFORM)" : "Cygwin" >/dev/null; then \
case "$(CFLAGS)" in \
*DSO_BEOS*) sfx=".so";; \
*DSO_DLFCN*) sfx=`expr "$(SHLIB_EXT)" : '.*\(\.[a-z][a-z]*\)' \| ".so"`;; \