aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-core/glib-2.0/glib-2.0_2.36.2.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/glib-2.0/glib-2.0_2.36.2.bb b/meta/recipes-core/glib-2.0/glib-2.0_2.36.2.bb
index ffe34ac45d7..bd4f5266c1c 100644
--- a/meta/recipes-core/glib-2.0/glib-2.0_2.36.2.bb
+++ b/meta/recipes-core/glib-2.0/glib-2.0_2.36.2.bb
@@ -46,6 +46,13 @@ RDEPENDS_${PN}-ptest_append_libc-glibc = "\
eglibc-localedata-translit-cjk-variants \
"
+BUILDSDK_LDFLAGS = "-L${STAGING_LIBDIR} \
+ -Wl,-rpath-link,${STAGING_LIBDIR} \
+ -Wl,-rpath,${STAGING_LIBDIR} -Wl,-O1 \
+ -L${STAGING_DIR_HOST}${base_libdir} \
+ -Wl,-rpath-link,${STAGING_DIR_HOST}${base_libdir} \
+ -Wl,-rpath,${STAGING_DIR_HOST}${base_libdir} -Wl,-O1"
+
do_configure_prepend() {
sed -i -e '1s,#!.*,#!${USRBINPATH}/env python,' ${S}/gio/gdbus-2.0/codegen/gdbus-codegen.in
}