aboutsummaryrefslogtreecommitdiffstats
path: root/community/libzip/build-static-and-dynamic.patch
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2020-01-29 11:07:41 +0100
committerLeo <thinkabit.ukim@gmail.com>2020-01-29 17:16:43 +0100
commit47bb26fb2b8fefcfbdd1cadcc7ad4efc3d994806 (patch)
tree24fd77f67737eb751d80f784818b0885c08fc00f /community/libzip/build-static-and-dynamic.patch
parent044f91f2bb347d73292a3007834d89f72abb0692 (diff)
downloadaports-47bb26fb2b8fefcfbdd1cadcc7ad4efc3d994806.tar.bz2
aports-47bb26fb2b8fefcfbdd1cadcc7ad4efc3d994806.tar.xz
community/libzip: upgrade to 1.6.0
Diffstat (limited to 'community/libzip/build-static-and-dynamic.patch')
-rw-r--r--community/libzip/build-static-and-dynamic.patch33
1 files changed, 0 insertions, 33 deletions
diff --git a/community/libzip/build-static-and-dynamic.patch b/community/libzip/build-static-and-dynamic.patch
deleted file mode 100644
index 890725ee57..0000000000
--- a/community/libzip/build-static-and-dynamic.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -59,7 +59,7 @@
- SET(WINDOWS_CRYPTO_FOUND FALSE)
- ENDIF()
-
--OPTION(BUILD_SHARED_LIBS "Build shared libraries" ON)
-+SET(BUILD_SHARED_LIBS ON)
-
-
- OPTION(SHARED_LIB_VERSIONNING "Add SO version in .so build" ON)
---- a/lib/CMakeLists.txt
-+++ b/lib/CMakeLists.txt
-@@ -215,7 +215,9 @@
- )
- ENDIF()
-
--ADD_LIBRARY(zip ${LIBZIP_SOURCES} ${LIBZIP_EXTRA_FILES} ${LIBZIP_OPTIONAL_FILES} ${LIBZIP_OPSYS_FILES})
-+ADD_LIBRARY(zip SHARED ${LIBZIP_SOURCES} ${LIBZIP_EXTRA_FILES} ${LIBZIP_OPTIONAL_FILES} ${LIBZIP_OPSYS_FILES})
-+ADD_LIBRARY(zip_static STATIC ${LIBZIP_SOURCES} ${LIBZIP_EXTRA_FILES} ${LIBZIP_OPTIONAL_FILES} ${LIBZIP_OPSYS_FILES})
-+SET_TARGET_PROPERTIES(zip_static PROPERTIES OUTPUT_NAME zip CLEAN_DIRECT_OUTPUT 1)
-
- IF(SHARED_LIB_VERSIONNING)
- SET_TARGET_PROPERTIES(zip PROPERTIES VERSION 5.0 SOVERSION 5)
-@@ -223,7 +225,7 @@
-
-
- TARGET_LINK_LIBRARIES(zip ${ZLIB_LIBRARY} ${OPTIONAL_LIBRARY})
--INSTALL(TARGETS zip
-+INSTALL(TARGETS zip zip_static
- RUNTIME DESTINATION ${CMAKE_INSTALL_BINDIR}
- ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR}
- LIBRARY DESTINATION ${CMAKE_INSTALL_LIBDIR})