summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@kyllikki.org>2016-02-08 21:40:42 +0000
committerVincent Sanders <vince@kyllikki.org>2016-02-08 21:40:42 +0000
commitd62ee62c940eefddc06656af9069e11a8f0b8741 (patch)
tree1c21e979bc70928b1899628fc6438625be575078
parentddfa29ca027e522ef247720766d8a1e0a350c8e2 (diff)
downloadbuildsystem-d62ee62c940eefddc06656af9069e11a8f0b8741.tar.gz
buildsystem-d62ee62c940eefddc06656af9069e11a8f0b8741.tar.bz2
Update tooling to use MACPorts library paths
-rw-r--r--makefiles/Makefile.tools7
1 files changed, 7 insertions, 0 deletions
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