From ac71691272a0ea9902a200a4e60d0e3658f5f6b9 Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Sun, 26 Oct 2008 09:14:06 +0000 Subject: docker: s/PKGCONFIG/PKG_CONFIG/ to be consistent Patch by Markus Heidelberg. --- package/docker/docker-1.5-pkgconfig.patch | 4 ++-- package/docker/docker.mk | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/package/docker/docker-1.5-pkgconfig.patch b/package/docker/docker-1.5-pkgconfig.patch index cba4d81f4..1b56b1bd4 100644 --- a/package/docker/docker-1.5-pkgconfig.patch +++ b/package/docker/docker-1.5-pkgconfig.patch @@ -13,11 +13,11 @@ $(target): $(sources:.c=.o) $(CC) $(CFLAGS) -L$(XLIBPATH) -lX11 \ - `pkg-config --libs glib-2.0` $^ -o $@ -+ `$(PKGCONFIG) --libs glib-2.0` $^ -o $@ ++ `$(PKG_CONFIG) --libs glib-2.0` $^ -o $@ %.o: %.c - $(CC) -c $(CFLAGS) `pkg-config --cflags glib-2.0` $< -+ $(CC) -c $(CFLAGS) `$(PKGCONFIG) --cflags glib-2.0` $< ++ $(CC) -c $(CFLAGS) `$(PKG_CONFIG) --cflags glib-2.0` $< version.h: version.h.in Makefile sed -e "s/@VERSION@/$(VERSION)/" version.h.in > $@ diff --git a/package/docker/docker.mk b/package/docker/docker.mk index 339e5fc18..384a65c64 100644 --- a/package/docker/docker.mk +++ b/package/docker/docker.mk @@ -14,6 +14,7 @@ DOCKER_MAKE_OPT = CC=$(TARGET_CC) CXX=$(TARGET_CXX) LD=$(TARGET_LD) \ CFLAGS="-I$(STAGING_DIR)/usr/include \ -I$(STAGING_DIR)/usr/include/glib-2.0 \ -I$(STAGING_DIR)/usr/lib/glib-2.0/include" \ + PKG_CONFIG="$(STAGING_DIR)/usr/bin/pkg-config" \ LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install -- cgit v1.2.3