CHG: hardnested needs malloc.h, which on Darvin (Mac OS X) needs a path to.

This commit is contained in:
iceman1001 2016-05-06 19:01:33 +02:00
parent e75bc417f1
commit 0fa87186cf

View file

@ -41,6 +41,7 @@ ifneq (,$(findstring MINGW,$(platform)))
endif endif
else ifeq ($(platform),Darwin) else ifeq ($(platform),Darwin)
CFLAGS += -I/usr/include/malloc/
LDLIBS = -L/opt/local/lib -lreadline -lpthread -lm LDLIBS = -L/opt/local/lib -lreadline -lpthread -lm
CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3 CXXFLAGS = $(shell pkg-config --cflags QtCore QtGui 2>/dev/null) -Wall -O3
QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null) QTLDLIBS = $(shell pkg-config --libs QtCore QtGui 2>/dev/null)