File missing_libs.patch of Package mariadb-connector-odbc

Index: mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt
===================================================================
--- mariadb-connector-odbc-3.0.2-ga-src.orig/CMakeLists.txt
+++ mariadb-connector-odbc-3.0.2-ga-src/CMakeLists.txt
@@ -108,7 +108,7 @@ IF(WIN32)
   ENDIF()
 ELSE()
   SEARCH_LIBRARY(LIB_MATH floor m)
-  SET(PLATFORM_DEPENDENCIES ${LIB_MATH})
+  SET(PLATFORM_DEPENDENCIES ${LIB_MATH} pthread)
   SET (MARIADB_ODBC_SOURCES ${MARIADB_ODBC_SOURCES} ma_platform_posix.c)
   IF(MARIADB_LINK_DYNAMIC)
     SET(MARIADB_CLIENT_FILENAME libmariadb.so.3)