summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Teigland <teigland@redhat.com>2015-04-22 09:35:50 -0500
committerDavid Teigland <teigland@redhat.com>2015-04-22 09:37:56 -0500
commit808f88f9f0db2f744c0f2517fa4aa4f7b9c138ec (patch)
tree744782c42165309f83a1541465bd593fc1c81edd
parent81d03b46b01de3f082e4dcd0eb9993c64be0686e (diff)
downloadlvm2-808f88f9f0db2f744c0f2517fa4aa4f7b9c138ec.tar.gz
make: let generate use the just built libdm
-rw-r--r--conf/Makefile.in4
1 files changed, 2 insertions, 2 deletions
diff --git a/conf/Makefile.in b/conf/Makefile.in
index 33f91c4db..5e8a0b502 100644
--- a/conf/Makefile.in
+++ b/conf/Makefile.in
@@ -27,10 +27,10 @@ include $(top_builddir)/make.tmpl
.PHONY: install_conf install_localconf install_profiles
generate:
- $(top_builddir)/tools/lvm dumpconfig --type default --unconfigured --withfullcomments --ignorelocal > example.conf.gen
+ LD_LIBRARY_PATH=$(top_builddir)/libdm:$(LD_LIBRARY_PATH) $(top_builddir)/tools/lvm dumpconfig --type default --unconfigured --withfullcomments --ignorelocal > example.conf.gen
cat example.conf.base example.conf.gen > example.conf.in
rm example.conf.gen
- $(top_builddir)/tools/lvm dumpconfig --type default --unconfigured --withfullcomments local > lvmlocal.conf.gen
+ LD_LIBRARY_PATH=$(top_builddir)/libdm:$(LD_LIBRARY_PATH) $(top_builddir)/tools/lvm dumpconfig --type default --unconfigured --withfullcomments local > lvmlocal.conf.gen
cat lvmlocal.conf.base lvmlocal.conf.gen > lvmlocal.conf.in
rm lvmlocal.conf.gen