Commit
…depends on libzfs_core). Use with: pkg-config --cflags --libs libzfs Signed-off-by: Turbo Fredriksson <turbo@bayour.com> Closes: openzfs#585
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,9 @@ | ||
include $(top_srcdir)/config/Rules.am | ||
|
||
libzfs_pcdir = $(prefix)/lib/pkgconfig | ||
This comment has been minimized.
Sorry, something went wrong.
behlendorf
|
||
libzfs_pc_DATA = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc | ||
EXTRA_DIST = $(top_srcdir)/lib/libzfs/libzfs.pc $(top_srcdir)/lib/libzfs/libzfs_core.pc | ||
|
||
DEFAULT_INCLUDES += \ | ||
-I$(top_srcdir)/include \ | ||
-I$(top_srcdir)/lib/libspl/include | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
prefix=@prefix@ | ||
exec_prefix=@exec_prefix@ | ||
libdir=@libdir@ | ||
includedir=@includedir@ | ||
|
||
Name: libzfs | ||
Description: LibZFS library | ||
Version: @VERSION@ | ||
URL: http://zfsonlinux.org | ||
Requires: libzfs_core | ||
#Conflicts: | ||
Cflags: -I${includedir} | ||
Libs: -L${libdir} -lzfs |
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -280,6 +280,7 @@ exit 0 | |
%{_libdir}/libzfs*.so.* | ||
|
||
%files -n libzfs2-devel | ||
/usr/lib/pkgconfig/libzfs.pc | ||
This comment has been minimized.
Sorry, something went wrong.
behlendorf
|
||
%{_libdir}/*.so | ||
%{_includedir}/* | ||
%doc AUTHORS COPYRIGHT DISCLAIMER | ||
|
This patch is missing the libzfs_core.pc.in file. It caused the reported build failures.