[Buildroot] [PATCH 1/1] host-pkgconf: Link pkg-config to $(TARGET_CROSS)pkg-config

Bernd Kuhls berndkuhls at hotmail.com
Sat Jan 18 08:31:45 UTC 2014


Fixes ffmpeg configure warning

WARNING: /home/test/buildroot/output/host/usr/bin/nios2-linux-gnu-pkg-config not found, library detection may fail

found in
http://autobuild.buildroot.net/results/c66/c663a518f65e786895d9ad8866193f70cbd6e96d/

Signed-off-by: Bernd Kuhls <berndkuhls at hotmail.com>
---
 package/pkgconf/pkgconf.mk |    1 +
 1 file changed, 1 insertion(+)

diff --git a/package/pkgconf/pkgconf.mk b/package/pkgconf/pkgconf.mk
index f3f6526..f467d66 100644
--- a/package/pkgconf/pkgconf.mk
+++ b/package/pkgconf/pkgconf.mk
@@ -22,6 +22,7 @@ define HOST_PKGCONF_INSTALL_WRAPPER
 	$(SED) 's, at PKG_CONFIG_LIBDIR@,$(STAGING_DIR)/usr/lib/pkgconfig:$(STAGING_DIR)/usr/share/pkgconfig,' \
 		-e 's, at STAGING_DIR@,$(STAGING_DIR),' \
 		$(HOST_DIR)/usr/bin/pkg-config
+	ln -sf pkg-config $(TARGET_CROSS)pkg-config
 endef
 
 PKGCONF_POST_INSTALL_TARGET_HOOKS += PKGCONF_LINK_PKGCONFIG
-- 
1.7.9.5



More information about the buildroot mailing list