diff options
author | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-20 21:01:31 +0100 |
---|---|---|
committer | Zdenek Kabelac <zkabelac@redhat.com> | 2023-02-23 16:46:35 +0100 |
commit | ad66600e480d49c22372231c0a56ea3bf5a9b842 (patch) | |
tree | 4e86e1f8c68694e72b5fb8196193f5a944b3f514 /daemons | |
parent | d91bc6904dce256b06687217ec66caba15b33a7a (diff) | |
download | lvm2-ad66600e480d49c22372231c0a56ea3bf5a9b842.tar.gz |
configure.ac: update dlm check
Check for pkg-config --libs libdlm_lt and test if the returned value
contains word 'pthread' - if so, it's likely a buggy result from
incorrect config file and use directly -ldlm_lt for this case.
Diffstat (limited to 'daemons')
-rw-r--r-- | daemons/lvmlockd/Makefile.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/daemons/lvmlockd/Makefile.in b/daemons/lvmlockd/Makefile.in index 24191c439..6d81d72fb 100644 --- a/daemons/lvmlockd/Makefile.in +++ b/daemons/lvmlockd/Makefile.in @@ -37,8 +37,7 @@ endif ifeq ("@BUILD_LOCKDIDM@", "yes") SOURCES += lvmlockd-idm.c -# LOCK_LIBS += $(LIBSEAGATEILM_LIBS) $(BLKID_LIBS) - LOCK_LIBS += -lseagate_ilm $(BLKID_LIBS) + LOCK_LIBS += $(LIBSEAGATEILM_LIBS) $(BLKID_LIBS) endif CFLOW_SOURCES = $(addprefix $(srcdir)/, $(SOURCES)) |