All of lore.kernel.org
 help / color / mirror / Atom feed
* master - build: get clvmd building again
@ 2018-06-01 18:19 Joe Thornber
  0 siblings, 0 replies; only message in thread
From: Joe Thornber @ 2018-06-01 18:19 UTC (permalink / raw)
  To: lvm-devel

Gitweb:        https://sourceware.org/git/?p=lvm2.git;a=commitdiff;h=02c4901d893a1b833260a7cbb66b9ad285d7ce39
Commit:        02c4901d893a1b833260a7cbb66b9ad285d7ce39
Parent:        c4497ee9e849d2d6c74412de21c6c3823d4de5f1
Author:        Joe Thornber <ejt@redhat.com>
AuthorDate:    Fri Jun 1 19:18:36 2018 +0100
Committer:     Joe Thornber <ejt@redhat.com>
CommitterDate: Fri Jun 1 19:18:36 2018 +0100

build: get clvmd building again

---
 daemons/clvmd/Makefile.in |    4 ++--
 make.tmpl.in              |    2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/daemons/clvmd/Makefile.in b/daemons/clvmd/Makefile.in
index 47a3411..9e096b5 100644
--- a/daemons/clvmd/Makefile.in
+++ b/daemons/clvmd/Makefile.in
@@ -80,9 +80,9 @@ CFLAGS += -fno-strict-aliasing $(EXTRA_EXEC_CFLAGS)
 INSTALL_TARGETS = \
 	install_clvmd
 
-clvmd: $(OBJECTS) $(top_builddir)/lib/liblvm-internal.a
+clvmd: $(OBJECTS) $(top_builddir)/lib/liblvm-internal.a $(top_builddir)/device_mapper/libdevice-mapper.a
 	$(CC) $(CFLAGS) $(LDFLAGS) $(EXTRA_EXEC_LDFLAGS) $(ELDFLAGS) \
-	      -o clvmd $(OBJECTS) $(LMLIBS) $(LIBS)
+	      -o clvmd $+ $(LMLIBS) $(LIBS)
 
 .PHONY: install_clvmd
 
diff --git a/make.tmpl.in b/make.tmpl.in
index ad927b0..16a8571 100644
--- a/make.tmpl.in
+++ b/make.tmpl.in
@@ -58,7 +58,7 @@ PYTHON3 = @PYTHON3@
 PYCOMPILE = $(top_srcdir)/autoconf/py-compile
 
 LIBS = @LIBS@
-LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS)
+LIBS += $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS) $(RT_LIBS) -lm
 # Extra libraries always linked with static binaries
 STATIC_LIBS = $(SELINUX_LIBS) $(UDEV_LIBS) $(BLKID_LIBS)
 DEFS += @DEFS@



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2018-06-01 18:19 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-01 18:19 master - build: get clvmd building again Joe Thornber

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.