diff options
author | Marius Bakke <mbakke@fastmail.com> | 2017-05-11 21:30:35 +0200 |
---|---|---|
committer | Marius Bakke <mbakke@fastmail.com> | 2017-05-11 21:30:35 +0200 |
commit | 2d4deb5d2107b2844b1f663fd54702bbd3c8b985 (patch) | |
tree | 7f33def53c0bbcf4e9a1020a57d444c5bb3b03e8 /gnu/packages | |
parent | e0d4331a93991bb1b74af11fba6745d4c7450b76 (diff) | |
download | guix-patches-2d4deb5d2107b2844b1f663fd54702bbd3c8b985.tar guix-patches-2d4deb5d2107b2844b1f663fd54702bbd3c8b985.tar.gz |
gnu: lvm2: Fix static build after 62ec02bf21.
Fixes <https://bugs.gnu.org/26874>.
* gnu/packages/patches/lvm2-static-link.patch: Link with -lm.
Diffstat (limited to 'gnu/packages')
-rw-r--r-- | gnu/packages/patches/lvm2-static-link.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/patches/lvm2-static-link.patch b/gnu/packages/patches/lvm2-static-link.patch index b4b1dd92e1..6adf6891bb 100644 --- a/gnu/packages/patches/lvm2-static-link.patch +++ b/gnu/packages/patches/lvm2-static-link.patch @@ -1,5 +1,5 @@ Fix static linking of 'lvm.static', which indirectly depend on libpthread -via libdevmapper.a. +and libm via libdevmapper.a. --- LVM2.2.02.166/tools/Makefile.in 2016-11-22 21:31:15.521045149 +0100 +++ LVM2.2.02.166/tools/Makefile.in 2016-11-22 21:31:24.085082767 +0100 @@ -8,7 +8,7 @@ via libdevmapper.a. lvm.static: $(OBJECTS) lvm-static.o $(top_builddir)/lib/liblvm-internal.a $(interfacebuilddir)/libdevmapper.a $(CC) $(CFLAGS) $(LDFLAGS) -static -L$(interfacebuilddir) -o $@ \ - $(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS) -+ $(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS) $(PTHREAD_LIBS) ++ $(OBJECTS) lvm-static.o $(LVMLIBS) $(STATIC_LIBS) $(LIBS) $(PTHREAD_LIBS) $(M_LIBS) liblvm2cmd.a: $(top_builddir)/lib/liblvm-internal.a $(OBJECTS) lvmcmdlib.o lvm2cmd.o cat $(top_builddir)/lib/liblvm-internal.a > $@ |