2011-10-04 10:02:03 +02:00
|
|
|
From: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
Subject: [PATCH] poco: add the staging path to search path
|
|
|
|
|
|
|
|
Add the mysql headers and client libraries to the search path of the
|
2011-10-08 23:06:43 +02:00
|
|
|
preprocessor and the linker. The $MYSQL_LIBDIR / $MYSQL_INCIDR variables
|
|
|
|
must be set from the make command line.
|
2011-10-04 10:02:03 +02:00
|
|
|
|
2011-10-08 23:06:43 +02:00
|
|
|
[Peter: Remove host dirs, add MYSQL_INCDIR]
|
2011-10-04 10:02:03 +02:00
|
|
|
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
|
|
|
|
---
|
2012-10-13 22:08:25 +02:00
|
|
|
--- poco-1.4.4-all-dist/Data/MySQL/Makefile 2012-09-20 01:30:42.000000000 +0300
|
|
|
|
+++ poco-1.4.4-all/Data/MySQL/Makefile 2012-10-11 14:36:10.343153420 +0200
|
2011-10-04 10:02:03 +02:00
|
|
|
@@ -8,8 +8,8 @@
|
|
|
|
|
|
|
|
include $(POCO_BASE)/build/rules/global
|
|
|
|
|
2012-10-13 22:08:25 +02:00
|
|
|
-SYSLIBS += -L/usr/local/lib$(LIB64SUFFIX)/mysql -L/usr/lib$(LIB64SUFFIX)/mysql -L/usr/mysql/lib$(LIB64SUFFIX)/mysql -L/usr/local/mysql/lib$(LIB64SUFFIX) -lmysqlclient
|
2011-10-04 10:02:03 +02:00
|
|
|
-INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
|
2011-10-08 23:06:43 +02:00
|
|
|
+SYSLIBS += -L$(MYSQL_LIBDIR) -lmysqlclient
|
|
|
|
+INCLUDE += -I$(MYSQL_INCDIR)
|
2011-10-04 10:02:03 +02:00
|
|
|
SYSFLAGS += -DTHREADSAFE -DNO_TCL
|
|
|
|
|
|
|
|
objects = Binder Extractor SessionImpl Connector \
|