Blob Blame History Raw
--- mariadb-connector-c-3.0.2-src/mariadb_config/mariadb_config.c.in	2017-07-19 11:31:02.000000000 +0200
+++ mariadb-connector-c-3.0.2-src/mariadb_config/mariadb_config.c.in_patched	2017-10-25 12:32:42.075324299 +0200
@@ -5,8 +5,8 @@
 
 static char *mariadb_progname;
 
-#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@ -I@CMAKE_INSTALL_PREFIX@/@INSTALL_INCLUDEDIR@/mysql"
-#define LIBS    "-L@CMAKE_INSTALL_PREFIX@/@INSTALL_LIBDIR@/ -lmariadb "\
+#define INCLUDE "-I@INSTALL_INCLUDEDIR@ -I@INSTALL_INCLUDEDIR@"
+#define LIBS    "-L@INSTALL_LIBDIR@/ -lmariadb "\
                 "@extra_dynamic_LDFLAGS@"
 #define LIBS_SYS "@extra_dynamic_LDFLAGS@"
 #define CFLAGS  INCLUDE
--- mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in	2018-04-23 14:05:44.061943591 +0200
+++ mariadb-connector-c-3.0.3-src/mariadb_config/mariadb_config.c.in_patched	2018-04-23 14:12:11.645251018 +0200
@@ -12,7 +12,7 @@ static char *mariadb_progname;
 #define CFLAGS  INCLUDE
 #define VERSION "@MARIADB_CLIENT_VERSION@"
 #define CC_VERSION "@CPACK_PACKAGE_VERSION@"
-#define PLUGIN_DIR "@CMAKE_INSTALL_PREFIX@/@INSTALL_PLUGINDIR@"
+#define PLUGIN_DIR "@INSTALL_PLUGINDIR@"
 #define SOCKET  "@MARIADB_UNIX_ADDR@"
 #define PORT "@MARIADB_PORT@"
 #define TLS_LIBRARY_VERSION "@TLS_LIBRARY_VERSION@"