Remedy conflict between libzip and minizip zip.h.

minizip.pc.in would add @include@/minizip to the include path,
which would permit simply #include <zip.h> to use minizip. However
that conflicts with the zip.h from libzip that is put in the root
include directory. This now does not add /minizip to the include
path. Now when using pkg-config, #include <minizip/zip.h> must be
used, where #include <zip.h> would be used for libzip. This is an
incompatible change with the previous state. Users of minizip and
pkg-config will need to update their code. #include <unzip.h> will
need to be updated to #include <minizip/unzip.h> as well.
This commit is contained in:
Mark Adler 2024-06-04 09:28:53 -07:00
parent 0f3b7b9595
commit 7e6f0784cc
1 changed files with 1 additions and 1 deletions

View File

@ -1,7 +1,7 @@
prefix=@prefix@
exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/minizip
includedir=@includedir@
Name: minizip
Description: Minizip zip file manipulation library