From eaf4ff5f66fb328bbea499d8199db34940c153db Mon Sep 17 00:00:00 2001 From: R4SAS Date: Tue, 22 Oct 2019 13:48:00 +0300 Subject: [PATCH] update version patch --- miniupnpc-version.patch | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/miniupnpc-version.patch b/miniupnpc-version.patch index 11193e9..1bc74a7 100644 --- a/miniupnpc-version.patch +++ b/miniupnpc-version.patch @@ -1,10 +1,10 @@ ---- CMakeLists.txt.orig 2016-06-08 10:22:31.058083356 +0200 -+++ CMakeLists.txt 2016-06-08 10:22:49.698117692 +0200 -@@ -118,7 +118,6 @@ +--- CMakeLists.txt.orig 2019-04-30 09:45:52.000000000 +0000 ++++ CMakeLists.txt 2019-10-22 10:37:38.451427100 +0000 +@@ -127,7 +127,6 @@ endif () if (UPNPC_BUILD_SHARED) - add_library (upnpc-shared SHARED ${MINIUPNPC_SOURCES}) - set_target_properties (upnpc-shared PROPERTIES OUTPUT_NAME "miniupnpc") -- set_target_properties (upnpc-shared PROPERTIES VERSION ${MINIUPNPC_VERSION}) - set_target_properties (upnpc-shared PROPERTIES SOVERSION ${MINIUPNPC_API_VERSION}) - target_link_libraries (upnpc-shared ${LDLIBS}) - set (UPNPC_INSTALL_TARGETS ${UPNPC_INSTALL_TARGETS} upnpc-shared) + add_library (libminiupnpc-shared SHARED ${MINIUPNPC_SOURCES}) + set_target_properties (libminiupnpc-shared PROPERTIES OUTPUT_NAME "miniupnpc") +- set_target_properties (libminiupnpc-shared PROPERTIES VERSION ${MINIUPNPC_VERSION}) + set_target_properties (libminiupnpc-shared PROPERTIES SOVERSION ${MINIUPNPC_API_VERSION}) + target_link_libraries (libminiupnpc-shared PRIVATE miniupnpc-private) + target_compile_definitions(libminiupnpc-shared PRIVATE MINIUPNP_EXPORTS)