2018-07-01 15:44:44 +02:00
|
|
|
From a3cb6e42fc2cfa0620ba737148fcbea0cf96a984 Mon Sep 17 00:00:00 2001
|
2015-08-04 11:57:27 +02:00
|
|
|
From: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
Date: Tue, 4 Aug 2015 10:14:00 +0200
|
2018-07-01 15:44:44 +02:00
|
|
|
Subject: [PATCH] poco: add the staging path to search path
|
2015-08-04 11:57:27 +02:00
|
|
|
MIME-Version: 1.0
|
|
|
|
Content-Type: text/plain; charset=UTF-8
|
|
|
|
Content-Transfer-Encoding: 8bit
|
|
|
|
|
|
|
|
Add the mysql headers and client libraries to the search path of the
|
|
|
|
preprocessor and the linker. The $MYSQL_LIBDIR / $MYSQL_INCIDR variables
|
|
|
|
must be set from the make command line.
|
|
|
|
|
|
|
|
[Peter: Remove host dirs, add MYSQL_INCDIR]
|
|
|
|
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
[Jörg: Update to version 1.6.1 from github]
|
|
|
|
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
|
|
|
|
---
|
|
|
|
Data/MySQL/Makefile | 4 ++--
|
|
|
|
1 file changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
|
|
|
|
diff --git a/Data/MySQL/Makefile b/Data/MySQL/Makefile
|
2018-07-01 15:44:44 +02:00
|
|
|
index c6fc2ac1c..955fee2d4 100644
|
2015-08-04 11:57:27 +02:00
|
|
|
--- a/Data/MySQL/Makefile
|
|
|
|
+++ b/Data/MySQL/Makefile
|
2018-07-01 15:44:44 +02:00
|
|
|
@@ -6,8 +6,8 @@
|
2015-08-04 11:57:27 +02:00
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
|
|
|
-SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX) -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient
|
|
|
|
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql/ -I/usr/mysql/include/mysql -I/usr/local/mysql/include
|
|
|
|
+SYSLIBS += -L$(MYSQL_LIBDIR) -lmysqlclient
|
|
|
|
+INCLUDE += -I$(MYSQL_INCDIR)
|
|
|
|
SYSFLAGS += -DTHREADSAFE -DNO_TCL
|
|
|
|
|
|
|
|
objects = Binder Extractor SessionImpl Connector \
|
|
|
|
--
|
2018-07-01 15:44:44 +02:00
|
|
|
2.14.4
|
2015-08-04 11:57:27 +02:00
|
|
|
|