[oe-commits] [openembedded-core] 02/33: classes/native: set lt_cv_sys_lib_dlsearch_path_spec

git at git.openembedded.org git at git.openembedded.org
Mon Oct 3 14:50:28 UTC 2016


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

commit 2d0a1b029447842a6f97f72ae636c9020c4206a9
Author: Ross Burton <ross.burton at intel.com>
AuthorDate: Mon Oct 3 15:16:30 2016 +0100

    classes/native: set lt_cv_sys_lib_dlsearch_path_spec
    
    This variable is used by libtool to know what paths are on the default loader
    search path.  As we have modified loader paths, native.bbclass can tell libtool
    that both the sysroot libdir and the host library paths are searched, so no
    RPATHs for those will be generated.
    
    Signed-off-by: Ross Burton <ross.burton at intel.com>
    Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
 meta/classes/native.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass
index f67ef00..143f8a9 100644
--- a/meta/classes/native.bbclass
+++ b/meta/classes/native.bbclass
@@ -87,8 +87,7 @@ datadir = "${STAGING_DATADIR_NATIVE}"
 
 baselib = "lib"
 
-# Libtool's default paths are correct for the native machine
-lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1"
+export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64"
 
 NATIVE_PACKAGE_PATH_SUFFIX ?= ""
 bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}"

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


More information about the Openembedded-commits mailing list