diff options
Diffstat (limited to 'linux-user')
-rw-r--r-- | linux-user/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c index 6df7b42c5e..5b751541ee 100644 --- a/linux-user/main.c +++ b/linux-user/main.c @@ -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"; |