[Pkg-zfsonlinux-devel] [PATCH] Fix libzfs's missing dependencies
Richard Laager
rlaager at wiktel.com
Sun Sep 15 07:20:51 UTC 2013
This addresses some warnings from dpkg-shlibdeps.
---
debian/patches/libzfs-dependencies | 16 ++++++++++++++++
debian/patches/series | 1 +
2 files changed, 17 insertions(+)
diff --git a/debian/patches/libzfs-dependencies b/debian/patches/libzfs-dependencies
new file mode 100644
index 0000000..d7861a7
--- /dev/null
+++ b/debian/patches/libzfs-dependencies
@@ -0,0 +1,16 @@
+Index: zfs/lib/libzfs/Makefile.am
+===================================================================
+--- zfs.orig/lib/libzfs/Makefile.am 2013-09-14 01:39:42.980509000 -0500
++++ zfs/lib/libzfs/Makefile.am 2013-09-14 01:42:21.780509000 -0500
+@@ -22,8 +22,11 @@ libzfs_la_SOURCES = \
+ $(top_srcdir)/lib/libzfs/libzfs_util.c
+
+ libzfs_la_LIBADD = \
++ $(top_builddir)/lib/libavl/libavl.la \
++ $(top_builddir)/lib/libefi/libefi.la \
+ $(top_builddir)/lib/libshare/libshare.la \
+ $(top_builddir)/lib/libnvpair/libnvpair.la \
++ $(top_builddir)/lib/libuutil/libuutil.la \
+ $(top_builddir)/lib/libzpool/libzpool.la
+
+ libzfs_la_LDFLAGS = -lm -ldl -version-info 1:1:0 $(LIBSELINUX)
diff --git a/debian/patches/series b/debian/patches/series
index 09346e7..d5a9c21 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
manpage-names
+libzfs-dependencies
--
1.7.9.5
More information about the Pkg-zfsonlinux-devel
mailing list