summaryrefslogtreecommitdiff
path: root/daemons
diff options
context:
space:
mode:
authorZdenek Kabelac <zkabelac@redhat.com>2023-02-11 16:06:26 +0100
committerZdenek Kabelac <zkabelac@redhat.com>2023-02-13 13:41:59 +0100
commit50f73de4b27c11c810c8f7aea3e36a5c947408af (patch)
tree0105c7753be835885eaefed145ec05e36f634d92 /daemons
parent0fc2d418f76a9e98ab988ff5a3440a3beef5295f (diff)
downloadlvm2-50f73de4b27c11c810c8f7aea3e36a5c947408af.tar.gz
makefiles: use configured systemd library paths
Use discovered/selected systemd library from configure.
Diffstat (limited to 'daemons')
-rw-r--r--daemons/lvmlockd/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/daemons/lvmlockd/Makefile.in b/daemons/lvmlockd/Makefile.in
index 91beb1ad8..e5ba82517 100644
--- a/daemons/lvmlockd/Makefile.in
+++ b/daemons/lvmlockd/Makefile.in
@@ -52,8 +52,8 @@ LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
LIBS += $(DAEMON_LIBS) $(PTHREAD_LIBS)
ifeq ($(USE_SD_NOTIFY),yes)
- CFLAGS += $(shell pkg-config --cflags libsystemd) -DUSE_SD_NOTIFY
- LIBS += $(shell pkg-config --libs libsystemd)
+ CFLAGS += $(SYSTEMD_CFLAGS) -DUSE_SD_NOTIFY
+ LIBS += $(SYSTEMD_LIBS)
endif
lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/server/libdaemonserver.a $(INTERNAL_LIBS)