diff mbox

[2/4] classes/native: set lt_cv_sys_lib_dlsearch_path_spec

Message ID 1475504192-17738-2-git-send-email-ross.burton@intel.com
State Accepted
Commit 2d0a1b029447842a6f97f72ae636c9020c4206a9
Headers show

Commit Message

Ross Burton Oct. 3, 2016, 2:16 p.m. UTC
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@intel.com>

---
 meta/classes/native.bbclass | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

-- 
2.8.1

-- 
_______________________________________________
Openembedded-core mailing list
Openembedded-core@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-core
diff mbox

Patch

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}"