From: Karel Zak Date: Fri, 12 Dec 2008 13:04:19 +0000 (+0100) Subject: mount: fix mount_static_LDADD X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4b7473c30f8844de31ce965d465ab2725c54909b;p=util-linux mount: fix mount_static_LDADD Signed-off-by: Karel Zak --- diff --git a/mount/Makefile.am b/mount/Makefile.am index 7ff528ca..3963fdaf 100644 --- a/mount/Makefile.am +++ b/mount/Makefile.am @@ -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