summaryrefslogtreecommitdiffstats
path: root/term-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2012-07-09 16:23:51 +0200
committerKarel Zak2012-07-09 16:23:51 +0200
commitdcdb349be73f7223962f55e4f2e74583f5b78687 (patch)
tree5232f3d47931e1aceb63d69d9c68618751ed5d21 /term-utils/Makemodule.am
parenthwclock: don't set time for --systz (diff)
downloadkernel-qcow2-util-linux-dcdb349be73f7223962f55e4f2e74583f5b78687.tar.gz
kernel-qcow2-util-linux-dcdb349be73f7223962f55e4f2e74583f5b78687.tar.xz
kernel-qcow2-util-linux-dcdb349be73f7223962f55e4f2e74583f5b78687.zip
build-sys: always use default $(LDADD)
The global variable $(LDADD) is always used if program_LDADD is not specified. Let's use $LDADD everywhere to avoid exceptions for people who need to specify global $LDADD. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r--term-utils/Makemodule.am10
1 files changed, 5 insertions, 5 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
index d3528c6a3..f4fa92d4a 100644
--- a/term-utils/Makemodule.am
+++ b/term-utils/Makemodule.am
@@ -2,7 +2,7 @@
usrbin_exec_PROGRAMS += script
dist_man_MANS += term-utils/script.1
script_SOURCES = term-utils/script.c
-script_LDADD =
+script_LDADD = $(LDADD)
if HAVE_UTIL
script_LDADD += -lutil
endif
@@ -20,7 +20,7 @@ if BUILD_AGETTY
sbin_PROGRAMS += agetty
dist_man_MANS += term-utils/agetty.8
agetty_SOURCES = term-utils/agetty.c
-agetty_LDADD = libcommon.la
+agetty_LDADD = $(LDADD) libcommon.la
endif # BUILD_AGETTY
@@ -32,9 +32,9 @@ dist_man_MANS += term-utils/setterm.1
setterm_SOURCES = term-utils/setterm.c
endif
if HAVE_TINFO
-setterm_LDADD = -ltinfo
+setterm_LDADD = $(LDADD) -ltinfo
else
-setterm_LDADD = @NCURSES_LIBS@
+setterm_LDADD = $(LDADD) @NCURSES_LIBS@
endif
endif
@@ -62,7 +62,7 @@ wall_SOURCES = \
dist_man_MANS += term-utils/wall.1
wall_CFLAGS = $(SUID_CFLAGS) $(AM_CFLAGS)
wall_LDFLAGS = $(SUID_LDFLAGS) $(AM_LDFLAGS)
-wall_LDADD = libcommon.la
+wall_LDADD = $(LDADD) libcommon.la
if USE_TTY_GROUP
if MAKEINSTALL_DO_CHOWN
install-exec-hook-wall::