X-Git-Url: http://git.kpe.io/?p=clsql.git;a=blobdiff_plain;f=Makefile.common;h=3c8fd2bb314b131a79943c066a7355adcb493d7f;hp=30be60ead65f4a9f89626ccd1e2ff1a4ef7a2e80;hb=b50166ae0ba2bc09a9094c0e675ec92010b7293e;hpb=01c654c9e616801affcb94ea0e75c8d486e203b9 diff --git a/Makefile.common b/Makefile.common index 30be60e..3c8fd2b 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 "$(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.*')