X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=Makefile.common;h=455f5a47061d8b4ee18ca9701764931983a60628;hb=4121952d2aa95c8611bf70b25b7772b5867c7666;hp=30be60ead65f4a9f89626ccd1e2ff1a4ef7a2e80;hpb=0ad64f85ff6cd99a78cc9ae6716ebbdb5627eaef;p=clsql.git diff --git a/Makefile.common b/Makefile.common index 30be60e..455f5a4 100644 --- a/Makefile.common +++ b/Makefile.common @@ -5,7 +5,11 @@ DARWIN_LIBC=$(shell file /usr/lib/libc.dylib) OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*') OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*') OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*') -OS_DARWIN64=$(shell expr "$(DARWIN_LIBC)" : '.*x86_64.*') +ifneq ($(OS_DARWIN),0) + OS_DARWIN64=$(shell expr match "$(DARWIN_LIBC)" '.*x86_64.*') +else + OS_DARWIN64=0 +endif OS_CYGWIN=$(shell expr "$(UNAME)" : '.*CYGWIN.*') OS_LINUX=$(shell expr "$(UNAME)" : '.*Linux.*') OS_LINUX64=$(shell expr "$(UNAME_A)" : '.*Linux.*x86_64.*')