aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorJuan Quintela <quintela@redhat.com>2009-07-27 16:12:51 +0200
committerAnthony Liguori <aliguori@us.ibm.com>2009-07-27 14:09:19 -0500
commit67c0f08d168a2933bf01160592cbe905075cd268 (patch)
tree0b8d8c85110a1c39f0566dbd2f522e580985ea64 /configure
parentf36fc7a1354a63801757ad48edea87813353cd33 (diff)
downloadqemu-67c0f08d168a2933bf01160592cbe905075cd268.zip
qemu-67c0f08d168a2933bf01160592cbe905075cd268.tar.gz
qemu-67c0f08d168a2933bf01160592cbe905075cd268.tar.bz2
Add -static in configure if needed
Signed-off-by: Juan Quintela <quintela@redhat.com> Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index 25fd453..df9ade2 100755
--- a/configure
+++ b/configure
@@ -1588,6 +1588,7 @@ fi
if test "$static" = "yes" ; then
echo "CONFIG_STATIC=y" >> $config_host_mak
echo "#define CONFIG_STATIC 1" >> $config_host_h
+ LDFLAGS="$LDFLAGS -static"
fi
if test $profiler = "yes" ; then
echo "#define CONFIG_PROFILER 1" >> $config_host_h