summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2023-02-16 23:28:08 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2023-02-17 00:00:12 +0100
commitc23d09bbcea15d5c639b8347bdf30106dee12660 (patch)
tree23a924bee30705ffc15836bf81ebe1d38a54d1a2 /daemons
parentd106ac04ab340d170dc5460e023df73e63bb98ab (diff)
downloadlvm2-c23d09bbcea15d5c639b8347bdf30106dee12660.tar.gz
configure.ac: use standardized LIBS and CFLAGS
Convert lvmlockd to use configure _LIBS and _CFLAGS for discovered libraries. TODO: ATM we ignore discovered libdlm and use libdlm_lt instead. Also libseagate_ilm is hard to find unicorn for testing.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmlockd/Makefile.in11
1 files changed, 7 insertions, 4 deletions
diff --git a/daemons/lvmlockd/Makefile.in b/daemons/lvmlockd/Makefile.in
index dd35d5411..aff4c0123 100644
--- a/daemons/lvmlockd/Makefile.in
+++ b/daemons/lvmlockd/Makefile.in
@@ -19,18 +19,21 @@ SOURCES = lvmlockd-core.c
ifeq ("@BUILD_LOCKDSANLOCK@", "yes")
SOURCES += lvmlockd-sanlock.c
- LOCK_LIBS += -lsanlock_client
+ CFLAGS += $(LIBSANLOCKCLIENT_CFLAGS)
+ LOCK_LIBS += $(LIBSANLOCKCLIENT_LIBS)
endif
ifeq ("@BUILD_LOCKDDLM@", "yes")
SOURCES += lvmlockd-dlm.c
- LOCK_LIBS += -ldlm_lt
- LOCK_LIBS += -ldlmcontrol
+ CFLAGS += $(LIBDLM) $(LIBDLMCONTROL_CFLAGS)
+# LOCK_LIBS += $(LIBDLM_LIBS) $(LIBDLMCONTROL_LIBS)
+ LOCK_LIBS += -ldlm_lt $(LIBDLMCONTROL_LIBS)
endif
ifeq ("@BUILD_LOCKDIDM@", "yes")
SOURCES += lvmlockd-idm.c
- LOCK_LIBS += -lseagate_ilm -lblkid
+# LOCK_LIBS += $(LIBSEAGATEILM_LIBS) $(BLKID_LIBS)
+ LOCK_LIBS += -lseagate_ilm $(BLKID_LIBS)
endif
SOURCES2 = lvmlockctl.c