From d62ee62c940eefddc06656af9069e11a8f0b8741 Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Mon, 8 Feb 2016 21:40:42 +0000 Subject: Update tooling to use MACPorts library paths --- makefiles/Makefile.tools | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/makefiles/Makefile.tools b/makefiles/Makefile.tools index 2410493..86fac4c 100644 --- a/makefiles/Makefile.tools +++ b/makefiles/Makefile.tools @@ -111,6 +111,13 @@ ifeq ($(BUILD),$(HOST)) LDFLAGS := $(LDFLAGS) -L$(GCCSDK_INSTALL_ENV)/lib -L/usr/local/lib endif + ifeq ($(findstring arwin,$(HOST)),arwin) + # Building on+for Mac OS X (Darwin) with MAC ports + CFLAGS := $(CFLAGS) -I/opt/local/include + CXXFLAGS := $(CXXFLAGS) -I/opt/local/include + LDFLAGS := $(LDFLAGS) -L/opt/local/lib + endif + else # Cross compiling -- cgit v1.2.3