File nosoname.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
@@ -238,7 +238,7 @@ CONFIGURE_FILE(${CMAKE_SOURCE_DIR}/maria
                ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def)
 
 ####### MAODBC #######             
-ADD_LIBRARY(${LIBRARY_NAME} SHARED ${MARIADB_ODBC_SOURCES} ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def maodbcu.rc)
+ADD_LIBRARY(${LIBRARY_NAME} MODULE ${MARIADB_ODBC_SOURCES} ${CMAKE_SOURCE_DIR}/mariadb-odbc-driver-uni.def maodbcu.rc)
 
 SET_TARGET_PROPERTIES(maodbc PROPERTIES LANGUAGE C)
 TARGET_LINK_LIBRARIES(maodbc ${MARIADB_LIB} ${ODBC_INSTLIBS} ${PLATFORM_DEPENDENCIES})