]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
iw: give path to pkg-config
authorThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sun, 21 Feb 2010 12:43:33 +0000 (13:43 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 23 Feb 2010 19:34:34 +0000 (20:34 +0100)
At install stage, iw needs pkg-config, through the PKG_CONFIG
environment variable.

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/iw/iw.mk

index 2dd1cd45345f4678a270f37ab48b316d75a7d964..89fd6047f06deee6c05ceb227ec582f3dea1b1db 100644 (file)
@@ -11,6 +11,7 @@ IW_DEPENDENCIES = libnl
 IW_INSTALL_TARGET_OPT = DESTDIR=$(TARGET_DIR) install
 IW_CONFIG = $(IW_DIR)/.config
 IW_MAKE_ENV = PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
+       PKG_CONFIG="$(HOST_DIR)/usr/bin/pkg-config" \
        GIT_DIR=$(IW_DIR)
 
 $(eval $(call AUTOTARGETS,package,iw))