set default pkg-config path on Mac OS X to make default build work

svn path=/trunk/netsurf/; revision=12907
This commit is contained in:
Vincent Sanders 2011-09-28 16:01:06 +00:00
parent 57547f7b1e
commit 561d6613dd
1 changed files with 6 additions and 2 deletions

View File

@ -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