ti-staging: expand staging hack to pkgconfig as well
authorKoen Kooi <koen@openembedded.org>
Mon, 18 Oct 2010 10:41:07 +0000 (12:41 +0200)
committerKoen Kooi <koen@openembedded.org>
Mon, 18 Oct 2010 10:41:07 +0000 (12:41 +0200)
recipes/ti/ti-staging.inc

index ef832cb..16f9858 100644 (file)
@@ -6,6 +6,10 @@ BASEPKG_HOST_SYS = "${MULTIMACH_HOST_SYS}"
 # Search archdir for shlibs instead of machine dir due to above BASEPKG_HOST_SYS
 SHLIBSDIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}/shlibs"
 
+PKG_CONFIG_DIR = "${STAGING_DIR}/${BASE_PACKAGE_ARCH}${HOST_VENDOR}-${HOST_OS}/${libdir}/pkgconfig"
+export PKG_CONFIG_PATH = "${PKG_CONFIG_DIR}:${STAGING_DATADIR}/pkgconfig"
+PKG_CONFIG_PATH .= ":${STAGING_LIBDIR_NATIVE}/pkgconfig:${STAGING_DATADIR_NATIVE}/pkgconfig"
+
 PACKAGE_STRIP = "no"
 
 ALLOW_EMPTY_${PN} = "1"