Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:alesar1:mingw-w64
mingw-w64-qt6-base
0006-Support-finding-static-MariaDB-client-libr...
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0006-Support-finding-static-MariaDB-client-library.patch of Package mingw-w64-qt6-base
From 31e89a3cc37e127d89a7d004a433be806912e09e Mon Sep 17 00:00:00 2001 From: Martchus <martchus@gmx.net> Date: Sun, 8 Nov 2020 00:33:12 +0100 Subject: [PATCH 06/17] Support finding static MariaDB client library We need to reverse the order to look for mariadb first (and only then for mysql) because otherwise it would pick up the static library "libmysqlclient.a" (provided by mingw-w64-mariadb-connector-c during the shared build (leading to linker errors). Change-Id: I8f9ba27e638619dba411ad0e37f2f03eab4775bf --- cmake/FindMySQL.cmake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmake/FindMySQL.cmake b/cmake/FindMySQL.cmake index b61d0107f25..6fb26e51f13 100644 --- a/cmake/FindMySQL.cmake +++ b/cmake/FindMySQL.cmake @@ -63,13 +63,13 @@ find_path(MySQL_INCLUDE_DIR find_library(MySQL_LIBRARY NO_PACKAGE_ROOT_PATH - NAMES libmysql mysql mysqlclient libmariadb mariadb + NAMES libmariadb mariadb mariadbclient libmysql mysql mysqlclient HINTS ${MySQL_library_hints}) if(MySQL_library_hints_debug) find_library(MySQL_LIBRARY_DEBUG NO_PACKAGE_ROOT_PATH - NAMES libmysql mysql mysqlclient libmariadb mariadb + NAMES libmariadb mariadb mariadbclient libmysql mysql mysqlclient HINTS ${MySQL_library_hints_debug}) endif() -- 2.44.0
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor