summaryrefslogtreecommitdiffstats
path: root/sys-utils/Makemodule.am
diff options
context:
space:
mode:
authorKarel Zak2015-03-06 13:17:20 +0100
committerKarel Zak2015-03-06 13:17:20 +0100
commit26e8964b9db51e27cc6eaf5510ebc8eac8443f33 (patch)
tree1adb27c7542eca3eadea4e3457f7bbab24f1b39f /sys-utils/Makemodule.am
parentMerge branch 'logger-man-syslog-routine' of https://github.com/rgerhards/util... (diff)
downloadkernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.tar.gz
kernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.tar.xz
kernel-qcow2-util-linux-26e8964b9db51e27cc6eaf5510ebc8eac8443f33.zip
lib/timer: use separate file for timers
It seems that static builds require -lpthread for timer_* functions. It's better to keep it out of our libs (e.g. libmount) to avoid unnecessary dependence. Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'sys-utils/Makemodule.am')
-rw-r--r--sys-utils/Makemodule.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys-utils/Makemodule.am b/sys-utils/Makemodule.am
index bd1b681e8..e06e34a04 100644
--- a/sys-utils/Makemodule.am
+++ b/sys-utils/Makemodule.am
@@ -1,7 +1,7 @@
if BUILD_FLOCK
usrbin_exec_PROGRAMS += flock
dist_man_MANS += sys-utils/flock.1
-flock_SOURCES = sys-utils/flock.c lib/monotonic.c
+flock_SOURCES = sys-utils/flock.c lib/monotonic.c lib/timer.c
flock_LDADD = $(LDADD) libcommon.la -lrt
endif