From 5b1e8063fb4cef557edaa26d596a5e9d2bda0162 Mon Sep 17 00:00:00 2001 From: Bill Date: Mon, 14 Nov 2022 15:23:12 +0800 Subject: [PATCH] [skip ci] fix build for macos --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 8fb0d75..21b55bd 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ LIBAQ_SRC = server/monetdb_conn.cpp server/libaquery.cpp LIBAQ_OBJ = monetdb_conn.o libaquery.o SEMANTIC_INTERPOSITION = -fno-semantic-interposition RANLIB = ranlib -_LINKER_BINARY = $(shell $(CXX) -print-prog-name=ld 2>&1 | grep -q LLVM && echo lld || echo ld) +_LINKER_BINARY = $(shell `$(CXX) -print-prog-name=ld` -v 2>&1 | grep -q LLVM && echo lld || echo ld) LINKER_BINARY = $(strip $(_LINKER_BINARY)) ifeq ($(LINKER_BINARY), ld) LINKER_FLAGS = -Wl,--allow-multiple-definition