summaryrefslogtreecommitdiff
path: root/meta/classes/cross.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2016-10-03 15:16:29 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-10-03 15:45:17 +0100
commit5b61324fa76b27bb6ce13e78b17e767eed2f8f57 (patch)
tree151e8ec9dc6415faa77b1f1278c58d5e5a8e213d /meta/classes/cross.bbclass
parent21cc2a3f63ea260dbf6b50e2fd4dd50cacdd9935 (diff)
downloadopenembedded-core-5b61324fa76b27bb6ce13e78b17e767eed2f8f57.tar.gz
openembedded-core-5b61324fa76b27bb6ce13e78b17e767eed2f8f57.tar.bz2
openembedded-core-5b61324fa76b27bb6ce13e78b17e767eed2f8f57.zip
classes/cross: 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, cross.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> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/cross.bbclass')
-rw-r--r--meta/classes/cross.bbclass2
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/cross.bbclass b/meta/classes/cross.bbclass
index 8d1e7795aa..01b09337ae 100644
--- a/meta/classes/cross.bbclass
+++ b/meta/classes/cross.bbclass
@@ -17,6 +17,8 @@ HOST_CC_ARCH = "${BUILD_CC_ARCH}"
HOST_LD_ARCH = "${BUILD_LD_ARCH}"
HOST_AS_ARCH = "${BUILD_AS_ARCH}"
+export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir} /lib /lib64 /usr/lib /usr/lib64"
+
STAGING_DIR_HOST = "${STAGING_DIR}/${HOST_ARCH}${HOST_VENDOR}-${HOST_OS}"
PACKAGE_ARCH = "${BUILD_ARCH}"