Make Trick Mac Homebrew friendly.

For some reason, fxplot and gxplot are not linking now because
they are missing symbols.  Adding -lc++abi to fix it (maybe).

refs #66
This commit is contained in:
Alexander Lin 2015-06-17 15:56:47 -05:00
parent cc49e4e4a8
commit 478ddbded9
2 changed files with 2 additions and 2 deletions

View File

@ -22,7 +22,7 @@ endif
ifeq ($(TRICK_HOST_TYPE), Darwin)
INCDIRS += -I/usr/X11/include
XLIBS = -L${MOTIF_HOME}/lib -lXm -L/usr/X11R6/lib -lXt -lX11
XLIBS = -L${MOTIF_HOME}/lib -lXm -L/usr/X11R6/lib -lXt -lX11 -lc++abi
else
ifneq (${MOTIF_HOME},/usr)
XLIBS = -L${MOTIF_HOME}/lib64 -L${MOTIF_HOME}/lib

View File

@ -23,7 +23,7 @@ endif
ifeq ($(TRICK_HOST_TYPE), Darwin)
INCDIRS += -I/usr/X11/include
MOTIF_INCDIR = -I/sw/include
XLIBS = -L/sw/lib -lXm -L/usr/X11R6/lib -lXt -lX11 ${LIBXML}
XLIBS = -L/sw/lib -lXm -L/usr/X11R6/lib -lXt -lX11 ${LIBXML} -lc++abi
else
XLIBS = -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lXm -lXt -lX11 ${LIBXML}
endif