]> 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:19 +0000 (14:04 +0100)
Signed-off-by: Karel Zak <kzak@redhat.com>
mount/Makefile.am

index 7ff528ca5855bb8192bd3f90c19e94f901b7019a..3963fdaf688a47730e0f71ef6579ec7e42fc2395 100644 (file)
@@ -37,12 +37,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
@@ -67,7 +68,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