Add support for Mac's removal of /usr/include #810

Found a unit test makefile that wasn't ready for Mojave.
This commit is contained in:
Alex Lin 2019-07-19 16:05:26 -05:00
parent de572d714b
commit 4b68ed4993

View File

@ -33,6 +33,8 @@ ifeq ($(TRICK_HOST_TYPE), Darwin)
CFLAGS += -DGTEST_HAS_TR1_TUPLE=0
MOTIF_INCDIR = -I/sw/include
XLIBS = -L/sw/lib -lXm -L/usr/X11R6/lib -L/usr/X11/lib -lXt -lX11
SDK_DIR = $(shell xcrun --show-sdk-path)
INCDIRS += -I${SDK_DIR}/usr/include/libxml2
else
MOTIF_INCDIR = -I/usr/X11R6/lib64 -I/usr/X11R6/lib
XLIBS = -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lXm -lXt -lX11 -ldl