lbry-android-sdk/p4a/pythonforandroid/recipes/libmysqlclient/disable-soversion.patch
2022-11-29 15:35:24 -05:00

12 lines
686 B
Diff

--- libmysqlclient/libmysqlclient/libmysql/CMakeLists.txt 2013-02-27 00:25:45.000000000 -0600
+++ b/libmysqlclient/libmysql/CMakeLists.txt 2016-01-11 14:00:26.729332913 -0600
@@ -97,9 +97,6 @@
ADD_LIBRARY(libmysql SHARED ${CLIENT_SOURCES} libmysql.def)
TARGET_LINK_LIBRARIES(libmysql ${CMAKE_THREAD_LIBS_INIT})
STRING(REGEX REPLACE "\\..+" "" LIBMYSQL_SOVERSION ${SHARED_LIB_VERSION})
-SET_TARGET_PROPERTIES(libmysql
- PROPERTIES VERSION ${SHARED_LIB_VERSION}
- SOVERSION ${LIBMYSQL_SOVERSION})
IF(OPENSSL_LIBRARIES)
TARGET_LINK_LIBRARIES(libmysql ${OPENSSL_LIBRARIES} ${OPENSSL_LIBCRYPTO})
ENDIF(OPENSSL_LIBRARIES)