From: Johannes Schauer <jo...@pyneo.org>

---
 linux-user/main.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/linux-user/main.c b/linux-user/main.c
index 0d627d6..c802175 100644
--- a/linux-user/main.c
+++ b/linux-user/main.c
@@ -2758,6 +2758,11 @@ int main(int argc, char **argv, char **envp)
     cpudef_setup(); /* parse cpu definitions in target config file (TBD) */
 #endif
 
+    /* read interp_prefix from environment variable */
+    if (getenv("QEMU_LD_PREFIX") != NULL) {
+        interp_prefix = getenv("QEMU_LD_PREFIX");
+    }
+
     optind = 1;
     for(;;) {
         if (optind >= argc)
-- 
1.7.5.4




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to