mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-03 05:18:29 +03:00
makefiles: use configured systemd library paths
Use discovered/selected systemd library from configure.
This commit is contained in:
parent
0fc2d418f7
commit
50f73de4b2
@ -52,8 +52,8 @@ LDFLAGS += -L$(top_builddir)/libdaemon/server $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS)
|
|||||||
LIBS += $(DAEMON_LIBS) $(PTHREAD_LIBS)
|
LIBS += $(DAEMON_LIBS) $(PTHREAD_LIBS)
|
||||||
|
|
||||||
ifeq ($(USE_SD_NOTIFY),yes)
|
ifeq ($(USE_SD_NOTIFY),yes)
|
||||||
CFLAGS += $(shell pkg-config --cflags libsystemd) -DUSE_SD_NOTIFY
|
CFLAGS += $(SYSTEMD_CFLAGS) -DUSE_SD_NOTIFY
|
||||||
LIBS += $(shell pkg-config --libs libsystemd)
|
LIBS += $(SYSTEMD_LIBS)
|
||||||
endif
|
endif
|
||||||
|
|
||||||
lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/server/libdaemonserver.a $(INTERNAL_LIBS)
|
lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/server/libdaemonserver.a $(INTERNAL_LIBS)
|
||||||
|
Loading…
Reference in New Issue
Block a user