summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorKarel Zak2009-11-05 15:58:20 +0100
committerKarel Zak2009-11-05 15:58:20 +0100
commit10a43146c3666dba07fea1f8c3742fa51f645a3a (patch)
treeb28a7064fb0ac9255c8a96a22bf586d5fefcf2d6 /config
parentlibblkid: add superblocks.c sample (diff)
downloadkernel-qcow2-util-linux-10a43146c3666dba07fea1f8c3742fa51f645a3a.tar.gz
kernel-qcow2-util-linux-10a43146c3666dba07fea1f8c3742fa51f645a3a.tar.xz
kernel-qcow2-util-linux-10a43146c3666dba07fea1f8c3742fa51f645a3a.zip
build-sys: cleanup static building
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'config')
-rw-r--r--config/include-Makefile.am3
1 files changed, 3 insertions, 0 deletions
diff --git a/config/include-Makefile.am b/config/include-Makefile.am
index f00776958..ae6414217 100644
--- a/config/include-Makefile.am
+++ b/config/include-Makefile.am
@@ -3,6 +3,9 @@ AM_CPPFLAGS = -include $(top_builddir)/config.h -I$(top_srcdir)/include \
AM_CFLAGS = -fsigned-char
AM_LDFLAGS =
+# generic libtool options for static programs
+LT_STATIC_LDFLAGS = -all-static
+
# Automake (at least up to 1.10) mishandles dist_man_MANS inside conditionals.
# Unlike with other dist primaries, the files are not distributed if the
# conditional is false.