summaryrefslogtreecommitdiff
path: root/databases/mysql-connector-c/files/patch-mysql_config_mysql_config.c.in
blob: 5a33e1f460a7c4a72d9537bee9fa6ff6dc8e4ffe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- mysql_config/mysql_config.c.in.orig	2013-02-01 17:35:59.000000000 +0100
+++ mysql_config/mysql_config.c.in	2013-02-01 17:36:22.000000000 +0100
@@ -18,8 +18,8 @@
 #include <my_getopt.h>
 #include <stdio.h>
 
-#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/include"
-#define LIBS    "-L@CMAKE_INSTALL_PREFIX@/lib -lmysql" \
+#define INCLUDE "-I@CMAKE_INSTALL_PREFIX@/include/mysql-connector-c"
+#define LIBS    "-L@CMAKE_INSTALL_PREFIX@/lib/mysql-connector-c -lmysql" \
                 "@extra_dynamic_LDFLAGS@"
 #define CFLAGS  INCLUDE
 #define VERSION "@CONNECTOR_C_VERSION@"