summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVincent Sanders <vince@netsurf-browser.org>2011-09-28 16:01:06 +0000
committerVincent Sanders <vince@netsurf-browser.org>2011-09-28 16:01:06 +0000
commit561d6613ddb97d2f0d2533e922c378f238c3f74e (patch)
treecdda1b72c3a16b459d2c240fe6dedc36ce162bb4
parent57547f7b1eef1f0d6384993cc60a33733b177a9e (diff)
downloadnetsurf-561d6613ddb97d2f0d2533e922c378f238c3f74e.tar.gz
netsurf-561d6613ddb97d2f0d2533e922c378f238c3f74e.tar.bz2
set default pkg-config path on Mac OS X to make default build work
svn path=/trunk/netsurf/; revision=12907
-rw-r--r--Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 93a8a0e27..e54989bf2 100644
--- a/Makefile
+++ b/Makefile
@@ -238,8 +238,12 @@ else
PKG_CONFIG := PKG_CONFIG_LIBDIR="$(GCCSDK_INSTALL_ENV)/lib/pkgconfig" pkg-config
endif
else
- # Building for GTK, Framebuffer, Atari
- PKG_CONFIG := pkg-config
+ ifeq ($(TARGET),cocoa)
+ PKG_CONFIG := PKG_CONFIG_PATH="$(PKG_CONFIG_PATH):/usr/local/lib/pkgconfig" pkg-config
+ else
+ # Building for GTK, Framebuffer, Atari
+ PKG_CONFIG := pkg-config
+ endif
endif
endif
endif