ad54a1
Fix overlining issues
ad54a1
ad54a1
https://wiki.openmandriva.org/en/Overlinking_issues_in_packaging
ad54a1
ad54a1
I provided extensive explanation on the upstream:
ad54a1
https://jira.mariadb.org/browse/CONC-410
ad54a1
ad54a1
--- mariadb-connector-c-3.0.10-src/mariadb_config/libmariadb.pc.in	2019-05-04 07:04:14.000000000 -0400
ad54a1
+++ mariadb-connector-c-3.0.10-src/mariadb_config/libmariadb.pc.in_patched	2019-05-21 08:25:09.825206424 -0400
ad54a1
@@ -14,6 +14,7 @@ Name: libmariadb
ad54a1
 Version: @CPACK_PACKAGE_VERSION@
ad54a1
 Description: MariaDB Connector/C dynamic library
ad54a1
 Cflags: -I${includedir}
ad54a1
-Libs: -L${libdir} -lmariadb @extra_dynamic_LDFLAGS@
ad54a1
+Libs: -L${libdir} -lmariadb
ad54a1
+Libs.private: @extra_dynamic_LDFLAGS@
ad54a1
 
ad54a1
 
ad54a1
--- mariadb-connector-c-3.0.10-src/mariadb_config/mariadb_config.c.in	2019-05-04 07:04:14.000000000 -0400
ad54a1
+++ mariadb-connector-c-3.0.10-src/mariadb_config/mariadb_config.c.in_patched	2019-05-21 08:46:08.473206424 -0400
ad54a1
@@ -6,7 +6,7 @@
ad54a1
 static char *mariadb_progname;
ad54a1
 
ad54a1
 #define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@ -I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@/mysql"
ad54a1
-#define LIBS    "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb @extra_dynamic_LDFLAGS@"
ad54a1
+#define LIBS    "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb"
ad54a1
 #define LIBS_SYS "@extra_dynamic_LDFLAGS@"
ad54a1
 #define CFLAGS  INCLUDE
ad54a1
 #define VERSION "@MARIADB_CLIENT_VERSION@"
ad54a1