FIX: For ld (linker) there is no "-=", so lets try re-assign ldlibs instead

This commit is contained in:
iceman1001 2016-02-18 23:01:12 +01:00
parent 28d47dc9b4
commit 25606bd724

View file

@ -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)