summaryrefslogtreecommitdiff
path: root/mount/Makefile.am
diff options
context:
space:
mode:
authorKarel Zak <kzak@redhat.com>2008-12-12 14:04:19 +0100
committerKarel Zak <kzak@redhat.com>2008-12-12 14:04:47 +0100
commita283d3b26ea0819dac1e10324bb192ad662b1571 (patch)
tree8160b095f0f6bb0d45e054dc65cfb2ebe5f97f39 /mount/Makefile.am
parent53d7854beaf2dd11c793ffadd571488e6772b6da (diff)
downloadutil-linux-old-a283d3b26ea0819dac1e10324bb192ad662b1571.tar.gz
mount: fix mount_static_LDADD
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'mount/Makefile.am')
-rw-r--r--mount/Makefile.am5
1 files changed, 3 insertions, 2 deletions
diff --git a/mount/Makefile.am b/mount/Makefile.am
index 43b3d6d8..d6a3d2fc 100644
--- a/mount/Makefile.am
+++ b/mount/Makefile.am
@@ -42,12 +42,13 @@ swapon_LDADD = $(LDADD_common)
LDADD_common =
LDADD_common_static =
+mount_static_LDADD =
if HAVE_STATIC_MOUNT
bin_PROGRAMS += mount.static
mount_static_SOURCES = $(mount_SOURCES)
mount_static_LDFLAGS = $(LDFLAGS_STATIC)
-mount_static_LDADD = $(LDADD_common_static)
+mount_static_LDADD += $(LDADD_common_static)
endif
if HAVE_STATIC_UMOUNT
@@ -72,7 +73,7 @@ endif
if HAVE_SELINUX
mount_LDADD += $(SELINUX_LIBS)
-mount_static_LDADD = $(SELINUX_LIBS_STATIC)
+mount_static_LDADD += $(SELINUX_LIBS_STATIC)
endif
if HAVE_VOLUME_ID