util-linux-ng: mount, umount and swapon need libuuid

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Configure checks for libuuid and makes it mandatory, but the functions
that use it forget to link against it. Not sure if the patch below is
the right fix, but it makes it (cross-)compile in ptxdist.

Please Cc: me on replies, I'm not subscribed to the mailing list.

Signed-off-by: Robert Schwebel <r.schwebel@xxxxxxxxxxxxxx>

---
 mount/Makefile.am |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

Index: util-linux-ng-2.14.1-rc2/mount/Makefile.am
===================================================================
--- util-linux-ng-2.14.1-rc2.orig/mount/Makefile.am
+++ util-linux-ng-2.14.1-rc2/mount/Makefile.am
@@ -36,9 +36,9 @@ losetup_SOURCES = lomount.c sundries.c x
 losetup_CPPFLAGS = -DMAIN $(AM_CPPFLAGS)
 
 
-mount_LDADD = $(LDADD_common)
-umount_LDADD = $(LDADD_common)
-swapon_LDADD = $(LDADD_common)
+mount_LDADD = $(LDADD_common) -luuid
+umount_LDADD = $(LDADD_common) -luuid
+swapon_LDADD = $(LDADD_common) -luuid
 
 LDADD_common =
 LDADD_common_static =

-- 
 Dipl.-Ing. Robert Schwebel | http://www.pengutronix.de
 Pengutronix - Linux Solutions for Science and Industry
   Handelsregister:  Amtsgericht Hildesheim, HRA 2686
     Hannoversche Str. 2, 31134 Hildesheim, Germany
   Phone: +49-5121-206917-0 |  Fax: +49-5121-206917-9

--
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux