summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-10-03 14:16:30 (GMT)
committerSona Sarmadi <sona.sarmadi@enea.com>2017-02-10 11:21:35 (GMT)
commitdb5e5d35e4938956d26efcca031994e7cdd98288 (patch)
treeb55f6e9342bd1b16e304629691a6319f5202885b
parent336c39dcbf7c791e18be0a03b594255a7e2b4a70 (diff)
downloadpoky-db5e5d35e4938956d26efcca031994e7cdd98288.tar.gz
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. (From OE-Core rev: 2d0a1b029447842a6f97f72ae636c9020c4206a9) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Sona Sarmadi <sona.sarmadi@enea.com>
-rw-r--r--meta/classes/native.bbclass3
1 files changed, 1 insertions, 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}"
87 87
88baselib = "lib" 88baselib = "lib"
89 89
90# Libtool's default paths are correct for the native machine 90export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64"
91lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1"
92 91
93NATIVE_PACKAGE_PATH_SUFFIX ?= "" 92NATIVE_PACKAGE_PATH_SUFFIX ?= ""
94bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" 93bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}"