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=a283d3b26ea0819dac1e10324bb192ad662b1571;p=util-linux mount: fix mount_static_LDADD Signed-off-by: Karel Zak --- 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