From 25606bd7246c4192b6c4664ef813d33be4f23f92 Mon Sep 17 00:00:00 2001 From: iceman1001 Date: Thu, 18 Feb 2016 23:01:12 +0100 Subject: [PATCH] FIX: For ld (linker) there is no "-=", so lets try re-assign ldlibs instead --- client/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/Makefile b/client/Makefile index c918fcb2..afb06c87 100644 --- a/client/Makefile +++ b/client/Makefile @@ -41,7 +41,7 @@ ifneq (,$(findstring MINGW,$(platform))) endif else ifeq ($(platform),Darwin) - LDLIBS -= -L/usr/local/lib + LDLIBS = -L/opt/local/lib -lreadline -lpthread -lm CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3 QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null) MOC = $(shell pkg-config --variable=moc_location QtCore) -- 2.39.2