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 /make.tmpl.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 'make.tmpl.in')
-rw-r--r-- | make.tmpl.in | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/make.tmpl.in b/make.tmpl.in index 3a09a10c6..20041f982 100644 --- a/make.tmpl.in +++ b/make.tmpl.in @@ -64,6 +64,7 @@ LDDEPS += @LDDEPS@ LIB_SUFFIX = @LIB_SUFFIX@ LVMINTERNAL_LIBS = -llvm-internal $(DMEVENT_LIBS) $(DAEMON_LIBS) $(UDEV_LIBS) $(DL_LIBS) $(BLKID_LIBS) DL_LIBS = @DL_LIBS@ +RT_LIBS = @RT_LIBS@ M_LIBS = @M_LIBS@ PTHREAD_LIBS = @PTHREAD_LIBS@ READLINE_LIBS = @READLINE_LIBS@ |