]> git.proxmox.com Git - qemu.git/blobdiff - linux-user/main.c
static link
[qemu.git] / linux-user / main.c
index 6df7b42c5e2c5e76ec725e8494411379e1224df0..5b751541ee35de522deb87cb647a26f5a57fc3f9 100644 (file)
@@ -30,7 +30,7 @@
 
 static const char *interp_prefix = CONFIG_QEMU_PREFIX;
 
-#ifdef __i386__
+#if defined(__i386__) && !defined(CONFIG_STATIC)
 /* Force usage of an ELF interpreter even if it is an ELF shared
    object ! */
 const char interp[] __attribute__((section(".interp"))) = "/lib/ld-linux.so.2";