aboutsummaryrefslogtreecommitdiff
path: root/linux-user
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:48:22 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2003-10-28 00:48:22 +0000
commit3a4739d651cb69acfb23f7f8ec83784c24bc6e48 (patch)
tree84f2d8f95fbd445bf1dd101b061ff004b1fd2eac /linux-user
parent76b62fd00130a9e8606aeaab82659bddb942dded (diff)
downloadqemu-3a4739d651cb69acfb23f7f8ec83784c24bc6e48.zip
qemu-3a4739d651cb69acfb23f7f8ec83784c24bc6e48.tar.gz
qemu-3a4739d651cb69acfb23f7f8ec83784c24bc6e48.tar.bz2
static link
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@423 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'linux-user')
-rw-r--r--linux-user/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/linux-user/main.c b/linux-user/main.c
index 6df7b42..5b75154 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";