summaryrefslogtreecommitdiffstats
path: root/term-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2014-09-17 10:56:46 +0200
committerKarel Zak2014-09-17 10:56:46 +0200
commit8026fa9bc7525c4cef02c17099e2db79284078f8 (patch)
tree9f2ad0175b170ace73daa5f5ca5b95a90d347b81 /term-utils/Makemodule.am
parentipcrm: add hacks to avoid FTBFS (diff)
downloadkernel-qcow2-util-linux-8026fa9bc7525c4cef02c17099e2db79284078f8.tar.gz
kernel-qcow2-util-linux-8026fa9bc7525c4cef02c17099e2db79284078f8.tar.xz
kernel-qcow2-util-linux-8026fa9bc7525c4cef02c17099e2db79284078f8.zip
build-sys: use -lutil for BSD only
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'term-utils/Makemodule.am')
-rw-r--r--term-utils/Makemodule.am2
1 files changed, 2 insertions, 0 deletions
diff --git a/term-utils/Makemodule.am b/term-utils/Makemodule.am
index 627aca049..e7ac707fe 100644
--- a/term-utils/Makemodule.am
+++ b/term-utils/Makemodule.am
@@ -23,7 +23,9 @@ sbin_PROGRAMS += agetty
dist_man_MANS += term-utils/agetty.8
agetty_SOURCES = term-utils/agetty.c
agetty_LDADD = $(LDADD) libcommon.la
+if BSD
agetty_LDADD += -lutil
+endif
endif # BUILD_AGETTY