summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:50:54 +0100
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>2019-12-13 12:52:16 +0100
commitba3cf4e511ec4b6fc9aa5f6bfb72f432cd159c35 (patch)
tree00d3647c2ab92ed1e86a37ae36ac3577333b7cbb
parent93e93ad11d342ac46f40018ff7b4b0ac1d044909 (diff)
Fix name of libsquashfs pkg-config file
This fixes both the name inside the file, as well as the file name by adding the major version suffix. Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
-rw-r--r--configure.ac2
-rw-r--r--lib/sqfs/Makemodule.am2
-rw-r--r--lib/sqfs/libsquashfs0.pc.in (renamed from lib/sqfs/libsquashfs.pc.in)2
3 files changed, 3 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 92fb8c2..b1fa2f2 100644
--- a/configure.ac
+++ b/configure.ac
@@ -213,7 +213,7 @@ AC_CHECK_FUNCS([strndup getline getsubopt])
##### generate output #####
AC_CONFIG_HEADERS([config.h])
-AC_CONFIG_FILES([lib/sqfs/libsquashfs.pc])
+AC_CONFIG_FILES([lib/sqfs/libsquashfs0.pc])
AC_CONFIG_FILES([Doxyfile])
AC_CONFIG_FILES([tests/cantrbry.sh], [chmod +x tests/cantrbry.sh])
diff --git a/lib/sqfs/Makemodule.am b/lib/sqfs/Makemodule.am
index 2bc0fa3..0a3b874 100644
--- a/lib/sqfs/Makemodule.am
+++ b/lib/sqfs/Makemodule.am
@@ -79,4 +79,4 @@ sqfsinclude_HEADERS = $(LIBSQFS_HEARDS)
lib_LTLIBRARIES += libsquashfs.la
-pkgconfig_DATA += lib/sqfs/libsquashfs.pc
+pkgconfig_DATA += lib/sqfs/libsquashfs0.pc
diff --git a/lib/sqfs/libsquashfs.pc.in b/lib/sqfs/libsquashfs0.pc.in
index 77d9ad7..e1c823f 100644
--- a/lib/sqfs/libsquashfs.pc.in
+++ b/lib/sqfs/libsquashfs0.pc.in
@@ -3,7 +3,7 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@
-Name: @PACKAGE_NAME@
+Name: libsquashfs
Version: @PACKAGE_VERSION@
Description: A library for working with SquashFS file systems.