[PATCH 2/2] Add uuid to the linker flags if using built LIBBLKID

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

 



|ld: warning: libuuid.so.1, needed by ../libblkid/src/.libs/libblkid.so, not found (try using -rpath or -rpath-link)
|../libblkid/src/.libs/libblkid.so: undefined reference to `uuid_unparse@UUID_1.0'

Signed-off-by: Sebastian Andrzej Siewior <bigeasy@xxxxxxxxxxxxx>
---
 config/include-Makefile.am |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/config/include-Makefile.am b/config/include-Makefile.am
index 29760d4..895d4bc 100644
--- a/config/include-Makefile.am
+++ b/config/include-Makefile.am
@@ -31,6 +31,9 @@ ul_libuuid_la = $(top_builddir)/libuuid/src/libuuid.la
 $(ul_libuuid_la):
 	$(MAKE) -C $(ul_libuuid_builddir)
 
+if BUILD_LIBBLKID
+ ul_libblkid_la += $(ul_libuuid_la)
+endif
 
 # mount
 ul_libmount_srcdir = $(top_srcdir)/libmount/src
-- 
1.7.9

--
To unsubscribe from this list: send the line "unsubscribe util-linux" 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