mirror of
https://github.com/zlib-ng/minizip-ng
synced 2025-03-28 21:13:18 +00:00
CMake: fix SONAME for MZ_COMPAT
zlib's minizip has SONAME 1. MZ_COMPAT intends to provide ABI and API compatibility, so its SONAME should match. The layout with this is: ``` libminizip.so -> libminizip.so.1 libminizip.so.1 -> libminizip.so.4.0.0 libminizip.so.4.0.0 ``` Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
parent
57be074f6f
commit
d14fb2f294
@ -607,6 +607,8 @@ endif()
|
||||
|
||||
# Include compatibility layer
|
||||
if(MZ_COMPAT)
|
||||
set(SOVERSION "1")
|
||||
|
||||
set(FILE_H "zip.h")
|
||||
set(MZ_COMPAT_FILE "MZ_COMPAT_ZIP")
|
||||
configure_file(mz_compat_shim.h.in zip.h)
|
||||
|
Loading…
x
Reference in New Issue
Block a user