You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
minizip/minizip-2.8.3_lib_prefix.patch

21 lines
769 B

diff --git a/CMakeLists.txt b/CMakeLists.txt
index d070550..a191805 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -599,7 +599,7 @@ set_target_properties(${PROJECT_NAME} PROPERTIES
VERSION ${VERSION}
SOVERSION ${SOVERSION}
LINKER_LANGUAGE C
- PREFIX ""
+ PREFIX ${CMAKE_SHARED_LIBRARY_PREFIX}
DEFINE_SYMBOL "MZ_EXPORTS"
POSITION_INDEPENDENT_CODE 1)
if(MZ_LZMA)
@@ -804,4 +804,4 @@ if(MZ_BUILD_FUZZ_TEST)
install(TARGETS zip_fuzzer RUNTIME DESTINATION "bin")
install(TARGETS unzip_fuzzer RUNTIME DESTINATION "bin")
endif()
-endif()
+endif()
\ No newline at end of file