Fix minor makefile errors
authorKevin Rosenberg <kevin@rosenberg.net>
Mon, 15 Feb 2010 20:21:11 +0000 (13:21 -0700)
committerKevin Rosenberg <kevin@rosenberg.net>
Mon, 15 Feb 2010 20:21:11 +0000 (13:21 -0700)
Makefile.common
db-mysql/Makefile

index 455f5a47061d8b4ee18ca9701764931983a60628..3c8fd2bb314b131a79943c066a7355adcb493d7f 100644 (file)
@@ -6,7 +6,7 @@ OS_AIX=$(shell expr "$(UNAME)" : '.*AIX.*')
 OS_SUNOS=$(shell expr "$(UNAME)" : '.*SunOS.*')
 OS_DARWIN=$(shell expr "$(UNAME)" : '.*Darwin.*')
 ifneq ($(OS_DARWIN),0) 
-  OS_DARWIN64=$(shell expr match "$(DARWIN_LIBC)" '.*x86_64.*')
+  OS_DARWIN64=$(shell expr "$(DARWIN_LIBC)" : '.*x86_64.*')
 else
   OS_DARWIN64=0
 endif
index 4198ac8fcf37de153835725514d2c29affc0c6cd..3616e9b6b28a9b7b72d974ca8307968ecd3dac21 100644 (file)
@@ -49,7 +49,6 @@ else
     ifneq ($(OS_DARWIN64),0)
        cc $(CFLAGS) -arch x86_64 -arch i386 -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress $(source) -o $(dylib)
        cc -arch x86_64 -arch i386 -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress /usr/lib/libz.dylib -o z.dylib
-       @echo "D2:" $(OS_DARWIN64)
     else
       ifneq ($(OS_DARWIN),0)
        cc $(CFLAGS) -arch i386 -bundle /usr/lib/bundle1.o -flat_namespace -undefined suppress $(source) -o $(dylib)