docker: fix pkg-config path
authorPeter Korsgaard <jacmet@sunsite.dk>
Sat, 16 May 2009 11:45:28 +0000 (13:45 +0200)
committerPeter Korsgaard <jacmet@sunsite.dk>
Sat, 16 May 2009 11:45:42 +0000 (13:45 +0200)
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/docker/docker.mk

index d86e88b3bb01747cd7cb3cca64fafd72137c1ae3..860cd7e81dcf3883d7b476cea7692c30222d82af 100644 (file)
@@ -14,7 +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" \
+                                       PKG_CONFIG="$(PKG_CONFIG_HOST_BINARY)" \
                                        LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib"
 
 DOCKER_INSTALL_TARGET_OPT = PREFIX=$(TARGET_DIR)/usr install