summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2016-10-11 23:31:29 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-15 10:01:43 +0100
commita6185017749b06a76d1f3d8ac748a9dc80f5cd17 (patch)
tree1828eabee14ef5d941f76008e68b98f09a096279 /meta/recipes-support
parenta35493d0fc36166203ea8c7b7a30333e32694d88 (diff)
downloadpoky-a6185017749b06a76d1f3d8ac748a9dc80f5cd17.tar.gz
source-highlight: use with-boost-libdir
Without with-boost-libdir, it checks lib64 libx32 lib lib64 in sysroot/usr/ and set it as boost lib path if it exist, this is unreliable when build with multilib. Fixed when switch baselib from lib64 to lib, for example, when we build qemux86-64 + multilib setting, the baselib is lib64, and when disable multilib, it would be lib, then we may see the error when do_configure since lib64 may exist during build source-highlight: configure: error: Could not find a version of the Boost::Regex library! Steps to reproduce: MACHINE = "qemux86-64" require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" $ bitbake world Then: MACHINE = "qemux86-64" $ bitbake source-highlight (From OE-Core rev: 98f521fff9bbeb1f7f40a009620884ec664992d7) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support')
-rw-r--r--meta/recipes-support/source-highlight/source-highlight_3.1.8.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb b/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb
index 37d2fa95f3..85923e4759 100644
--- a/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb
+++ b/meta/recipes-support/source-highlight/source-highlight_3.1.8.bb
@@ -15,7 +15,7 @@ DEPENDS_append = " boost"
15 15
16DEPENDS_append_class-target = " source-highlight-native" 16DEPENDS_append_class-target = " source-highlight-native"
17 17
18EXTRA_OECONF = "--with-boost=${PKG_CONFIG_SYSROOT_DIR}/${prefix}" 18EXTRA_OECONF = "--with-boost=yes --with-boost-libdir=${STAGING_DIR_TARGET}${libdir}"
19 19
20BBCLASSEXTEND = "native" 20BBCLASSEXTEND = "native"
21 21