diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/autotools.bbclass | 2 | ||||
-rw-r--r-- | meta/classes/native.bbclass | 3 |
2 files changed, 5 insertions, 0 deletions
diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 8f65b709fd..f213c18bf5 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass | |||
@@ -31,6 +31,8 @@ export CONFIG_SITE = "${@siteinfo_get_files(d)}" | |||
31 | acpaths = "default" | 31 | acpaths = "default" |
32 | EXTRA_AUTORECONF = "--exclude=autopoint" | 32 | EXTRA_AUTORECONF = "--exclude=autopoint" |
33 | 33 | ||
34 | export lt_cv_sys_lib_dlsearch_path_spec = "${libdir} ${base_libdir}" | ||
35 | |||
34 | def autotools_set_crosscompiling(d): | 36 | def autotools_set_crosscompiling(d): |
35 | if not bb.data.inherits_class('native', d): | 37 | if not bb.data.inherits_class('native', d): |
36 | return " cross_compiling=yes" | 38 | return " cross_compiling=yes" |
diff --git a/meta/classes/native.bbclass b/meta/classes/native.bbclass index 9a41f19dc6..5e45aed37b 100644 --- a/meta/classes/native.bbclass +++ b/meta/classes/native.bbclass | |||
@@ -69,6 +69,9 @@ exec_prefix = "${STAGING_DIR_NATIVE}${prefix_native}" | |||
69 | 69 | ||
70 | libdir = "${STAGING_DIR_NATIVE}${libdir_native}" | 70 | libdir = "${STAGING_DIR_NATIVE}${libdir_native}" |
71 | 71 | ||
72 | # Libtool's default paths are correct for the native machine | ||
73 | lt_cv_sys_lib_dlsearch_path_spec[unexport] = "1" | ||
74 | |||
72 | NATIVE_PACKAGE_PATH_SUFFIX = "" | 75 | NATIVE_PACKAGE_PATH_SUFFIX = "" |
73 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 76 | bindir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |
74 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" | 77 | libdir .= "${NATIVE_PACKAGE_PATH_SUFFIX}" |