diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2017-08-01 12:41:45 +0200 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2017-08-01 14:03:54 +0200 |
commit | 92b53a80772a5a7f18c95ac4f3154a3cd4b1ce43 (patch) | |
tree | b903a59fda3e07f9b35961c8cd5750f6b7a42e53 /libdm/Makefile.in | |
parent | a60fd5723645a56b677281007e6d5ed2493945cf (diff) | |
download | lvm2-92b53a80772a5a7f18c95ac4f3154a3cd4b1ce43.tar.gz |
configure: improve test for realtime clock
Check first if we need to even link -lrt - since clock functions
are normally emebeded with recent glibc (>=2.17)
Use standard RT_LIBS name.
Avoid duplicate test for realtime clock with lvmlockd
Show better error message when realtime clock support is missing or
disabled.
Link RT_LIBS explicitely with lvmlockd and lvmetad.
Diffstat (limited to 'libdm/Makefile.in')
-rw-r--r-- | libdm/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libdm/Makefile.in b/libdm/Makefile.in index 7396cdc23..66ec39513 100644 --- a/libdm/Makefile.in +++ b/libdm/Makefile.in @@ -56,7 +56,7 @@ include $(top_builddir)/make.tmpl PROGS_CFLAGS = $(UDEV_CFLAGS) -LIBS += $(RT_LIB) $(SELINUX_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS) $(M_LIBS) +LIBS += $(RT_LIBS) $(SELINUX_LIBS) $(UDEV_LIBS) $(PTHREAD_LIBS) $(M_LIBS) device-mapper: all |