]> code.ossystems Code Review - openembedded-core.git/commit
source-highlight: use with-boost-libdir
authorRobert Yang <liezhi.yang@windriver.com>
Wed, 12 Oct 2016 06:31:29 +0000 (23:31 -0700)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 15 Oct 2016 08:52:35 +0000 (09:52 +0100)
commit98f521fff9bbeb1f7f40a009620884ec664992d7
tree3b96e28fd425356cdec66e8c2d56945398fb8038
parent3ba03d1affa6f647e9a03c8ba4389606a0da8e8b
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

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-support/source-highlight/source-highlight_3.1.8.bb