diff options
author | Ross Burton <ross.burton@intel.com> | 2016-10-03 15:16:30 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-10-04 16:29:04 +0100 |
commit | 922a745993c6fe8d817d68dde2ec7befaef5b92a (patch) | |
tree | 2f613e191b4d268daaed69c406ad041ed4864a0a | |
parent | 87acbfe903d7055d2345d6ae00be5fdb7b739cbd (diff) | |
download | poky-922a745993c6fe8d817d68dde2ec7befaef5b92a.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>
-rw-r--r-- | meta/classes/native.bbclass | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index f67ef00142..143f8a9147 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -87,8 +87,7 @@ datadir = "${STAGING_DATADIR_NATIVE}" | |||
87 | 87 | ||
88 | baselib = "lib" | 88 | baselib = "lib" |
89 | 89 | ||
90 | # Libtool's default paths are correct for the native machine | 90 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64" |
91 | lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1" | ||
92 | 91 | ||
93 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" | 92 | NATIVE_PACKAGE_PATH_SUFFIX ?= "" |
94 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 93 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |