summaryrefslogtreecommitdiffstats
path: root/meta/classes/qemu.bbclass
diff options
context:
space:
mode:
Diffstat (limited to 'meta/classes/qemu.bbclass')
-rw-r--r--meta/classes/qemu.bbclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/classes/qemu.bbclass b/meta/classes/qemu.bbclass
index 0e71d6aaad..930c6b082e 100644
--- a/meta/classes/qemu.bbclass
+++ b/meta/classes/qemu.bbclass
@@ -29,4 +29,9 @@ def qemu_run_binary(data, rootfs_path, binary):
29 if qemu_binary == "qemu-allarch": 29 if qemu_binary == "qemu-allarch":
30 qemu_binary = "qemuwrapper" 30 qemu_binary = "qemuwrapper"
31 31
32 return "PSEUDO_UNLOAD=1 " + qemu_binary + " -L " + rootfs_path + " " + rootfs_path + binary 32 libdir = rootfs_path + data.getVar("libdir", False)
33 base_libdir = rootfs_path + data.getVar("base_libdir", False)
34
35 return "PSEUDO_UNLOAD=1 " + qemu_binary + " -L " + rootfs_path\
36 + " -E LD_LIBRARY_PATH=" + libdir + ":" + base_libdir + " "\
37 + rootfs_path + binary