diff options
-rw-r--r-- | eclass/multilib.eclass | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/eclass/multilib.eclass b/eclass/multilib.eclass index 9c7042fcd299..33ca97261318 100644 --- a/eclass/multilib.eclass +++ b/eclass/multilib.eclass @@ -498,6 +498,7 @@ multilib_toolchain_setup() { STRIP PKG_CONFIG_LIBDIR PKG_CONFIG_PATH + PKG_CONFIG_SYSTEM_INCLUDE_PATH PKG_CONFIG_SYSTEM_LIBRARY_PATH ) @@ -547,7 +548,8 @@ multilib_toolchain_setup() { export CHOST=$(get_abi_CHOST $1) export PKG_CONFIG_LIBDIR=${EPREFIX}/usr/$(get_libdir)/pkgconfig export PKG_CONFIG_PATH=${EPREFIX}/usr/share/pkgconfig - export PKG_CONFIG_SYSTEM_LIBRARY_PATH=${EPREFIX}/usr/$(get_libdir) + export PKG_CONFIG_SYSTEM_INCLUDE_PATH=${EPREFIX}/usr/include + export PKG_CONFIG_SYSTEM_LIBRARY_PATH=${EPREFIX}/$(get_libdir):${EPREFIX}/usr/$(get_libdir) fi } |