From 2d0a1b029447842a6f97f72ae636c9020c4206a9 Mon Sep 17 00:00:00 2001 From: Ross Burton Date: Mon, 3 Oct 2016 15:16:30 +0100 Subject: 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 Signed-off-by: Richard Purdie --- meta/classes/native.bbclass | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'meta/classes/native.bbclass') 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}" 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}" -- cgit 1.2.3-korg