---
 bsd-user/main.c    |    5 +++++
 darwin-user/main.c |    5 +++++
 2 files changed, 10 insertions(+), 0 deletions(-)

diff --git a/bsd-user/main.c b/bsd-user/main.c
index 6018a41..ed639de 100644
--- a/bsd-user/main.c
+++ b/bsd-user/main.c
@@ -763,6 +763,11 @@ int main(int argc, char **argv)
     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)
diff --git a/darwin-user/main.c b/darwin-user/main.c
index 35196a1..f808521 100644
--- a/darwin-user/main.c
+++ b/darwin-user/main.c
@@ -751,6 +751,11 @@ int main(int argc, char **argv)
     if (argc <= 1)
         usage();
 
+    /* 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