lbry-android/p4a/pythonforandroid/recipes/libmysqlclient/disable-soversion.patch
Akinwale Ariwodola 744cfaebc2 Initial commit
2017-08-13 02:24:00 +01: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)