[oe-commits] [openembedded-core] 13/32: source-highlight: use with-boost-libdir

git at git.openembedded.org git at git.openembedded.org
Sat Oct 15 09:05:58 UTC 2016


rpurdie pushed a commit to branch master
in repository openembedded-core.

commit 98f521fff9bbeb1f7f40a009620884ec664992d7
Author: Robert Yang <liezhi.yang at windriver.com>
AuthorDate: Tue Oct 11 23:31:29 2016 -0700

    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 at windriver.com>
    Signed-off-by: Ross Burton <ross.burton at intel.com>
---
 meta/recipes-support/source-highlight/source-highlight_3.1.8.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 37d2fa9..85923e4 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"
 
 DEPENDS_append_class-target = " source-highlight-native"
 
-EXTRA_OECONF = "--with-boost=${PKG_CONFIG_SYSROOT_DIR}/${prefix}"
+EXTRA_OECONF = "--with-boost=yes --with-boost-libdir=${STAGING_DIR_TARGET}${libdir}"
 
 BBCLASSEXTEND = "native"
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Openembedded-commits mailing list