]> err.no Git - util-linux/commitdiff
mount: fix mount_static_LDADD
authorKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 13:04:19 +0000 (14:04 +0100)
committerKarel Zak <kzak@redhat.com>
Fri, 12 Dec 2008 13:04:47 +0000 (14:04 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/Makefile.am

index 43b3d6d811724e5c001fedfef88f953f5287d2b9..d6a3d2fcacb7e00ef7bdd58a7ce2ba2a3c14bf87 100644 (file)
@@ -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