[gnome-builder/wip/tintou/qemu-ldprefix: 2/2] sysroot: Set the QEMU_LD_PREFIX environment variable to run applications using the content of the sy



commit 2a2bf4ff687de94ebeaa711678cf3056757d62d7
Author: Corentin Noël <corentin noel collabora co uk>
Date:   Tue May 8 11:20:34 2018 +0100

    sysroot: Set the QEMU_LD_PREFIX environment variable to run applications using the content of the sysroot

 src/plugins/sysroot/gbp-sysroot-runtime.c | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/plugins/sysroot/gbp-sysroot-runtime.c b/src/plugins/sysroot/gbp-sysroot-runtime.c
index 4451f14c8..6d00f1445 100644
--- a/src/plugins/sysroot/gbp-sysroot-runtime.c
+++ b/src/plugins/sysroot/gbp-sysroot-runtime.c
@@ -129,6 +129,7 @@ gbp_sysroot_runtime_create_launcher (IdeRuntime  *runtime,
       ide_subprocess_launcher_setenv (ret, "PKG_CONFIG_DIR", "", TRUE);
       ide_subprocess_launcher_setenv (ret, "PKG_CONFIG_SYSROOT_DIR", g_strdup (sysroot_path), TRUE);
       ide_subprocess_launcher_setenv (ret, "PKG_CONFIG_LIBDIR", sysroot_libdirs, TRUE);
+      ide_subprocess_launcher_setenv (ret, "QEMU_LD_PREFIX", g_strdup (sysroot_path), TRUE);
     }
   else
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]