diff options
-rw-r--r-- | meta/conf/multilib.conf | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/conf/multilib.conf b/meta/conf/multilib.conf index 37e8481112..89a8e9096f 100644 --- a/meta/conf/multilib.conf +++ b/meta/conf/multilib.conf | |||
@@ -17,3 +17,10 @@ BBCLASSEXTEND_append = " ${MULTILIBS}" | |||
17 | MULTILIB_GLOBAL_VARIANTS ?= "lib32 lib64 libx32" | 17 | MULTILIB_GLOBAL_VARIANTS ?= "lib32 lib64 libx32" |
18 | 18 | ||
19 | OPKG_ARGS_append = " --force-maintainer --force-overwrite" | 19 | OPKG_ARGS_append = " --force-maintainer --force-overwrite" |
20 | |||
21 | # When multilib is enabled, allarch recipes will be installed into the MACHINE | ||
22 | # sysroot, not MLPREFIXMACHINE. This means that anything using pkg-config to | ||
23 | # find an allarch pkgconfig file will fail as the PKG_CONFIG_PATH only looks | ||
24 | # inside the multilib sysroot. Fix this by explicitly adding the MACHINE's | ||
25 | # architecture-independent pkgconfig location to PKG_CONFIG_PATH. | ||
26 | PKG_CONFIG_PATH .= ":${STAGING_DIR}/${MACHINE}${datadir}/pkgconfig" | ||