Skip to content

Commit 7e6f078

Browse files
committed
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.
1 parent 0f3b7b9 commit 7e6f078

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

contrib/minizip/minizip.pc.in

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
prefix=@prefix@
22
exec_prefix=@exec_prefix@
33
libdir=@libdir@
4-
includedir=@includedir@/minizip
4+
includedir=@includedir@
55

66
Name: minizip
77
Description: Minizip zip file manipulation library

0 commit comments

Comments
 (0)