master - build: gcc can be fussy about order of libs
Gitweb: https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=37366ec3b061c86ce897560213df5769c5d91eb6 Commit: 37366ec3b061c86ce897560213df5769c5d91eb6 Parent: 6e12a332923bb81cc293b64821226e8c2632742c Author: Marian Csontos <[email protected]> AuthorDate: Wed Oct 10 11:10:42 2018 +0200 Committer: Marian Csontos <[email protected]> CommitterDate: Wed Oct 10 11:25:50 2018 +0200
build: gcc can be fussy about order of libs
--- daemons/lvmlockd/Makefile.in | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
daemons/lvmlockd/Makefile.in +1 -1
@@ -45,7 +45,7 @@ LIBS += $(RT_LIBS) $(DAEMON_LIBS) $(PTHREAD_LIBS) ifeq ($(USE_SD_NOTIFY),yes) CFLAGS += $(shell pkg-config --cflags libsystemd) -DUSE_SD_NOTIFY - LDFLAGS += $(shell pkg-config --libs libsystemd) + LIBS += $(shell pkg-config --libs libsystemd) endif lvmlockd: $(OBJECTS) $(top_builddir)/libdaemon/client/libdaemonclient.a \