From 561d6613ddb97d2f0d2533e922c378f238c3f74e Mon Sep 17 00:00:00 2001 From: Vincent Sanders Date: Wed, 28 Sep 2011 16:01:06 +0000 Subject: set default pkg-config path on Mac OS X to make default build work svn path=/trunk/netsurf/; revision=12907 --- Makefile | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'Makefile') 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 -- cgit v1.2.3