move pkg config stuff to per-target exports to prevent interference with host builds
[openwrt.git] / include / host-build.mk
index ffba12b..1a79484 100644 (file)
@@ -115,6 +115,8 @@ ifndef DUMP
        $(call Host/Prepare)
        touch $$@
 
+  $(HOST_STAMP_CONFIGURED) : export PKG_CONFIG_PATH=$$(STAGING_DIR_HOST)/lib/pkgconfig
+  $(HOST_STAMP_CONFIGURED) : export PKG_CONFIG_LIBDIR=$$(STAGING_DIR_HOST)/lib/pkgconfig
   $(HOST_STAMP_CONFIGURED): $(HOST_STAMP_PREPARED)
        $(call Host/Configure)
        touch $$@
This page took 0.0244259999999999 seconds and 4 git commands to generate.