fixed makefile

dev
Bill 2 years ago
parent c8d7e3215d
commit 27f0f579f4

@ -24,6 +24,7 @@ ifeq ($(COMPILER), clang )
RANLIB = llvm-ranlib RANLIB = llvm-ranlib
endif endif
else else
LIBTOOL = ar rcs
ifneq (, $(shell which gcc-ar)) ifneq (, $(shell which gcc-ar))
LIBTOOL = gcc-ar rcs LIBTOOL = gcc-ar rcs
endif endif
@ -51,7 +52,6 @@ else
UNAME_M = $(shell uname -m) UNAME_M = $(shell uname -m)
NULL_DEVICE = /dev/null NULL_DEVICE = /dev/null
MonetDB_LIB = MonetDB_LIB =
LIBTOOL = ar rcs
ifeq ($(UNAME_S),Darwin) ifeq ($(UNAME_S),Darwin)
USELIB_FLAG = -Wl,-force_load USELIB_FLAG = -Wl,-force_load
MonetDB_LIB += -L$(shell brew --prefix monetdb)/lib MonetDB_LIB += -L$(shell brew --prefix monetdb)/lib

Loading…
Cancel
Save