The cirros image was rebuilt against the 3.13.0-83 kernel, drivers e1000e, igbvf...
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / poco / 0003-add-staging-search-path.patch
1 From: Baruch Siach <baruch@tkos.co.il>
2 Subject: [PATCH] poco: add the staging path to search path
3
4 Add the mysql headers and client libraries to the search path of the
5 preprocessor and the linker. The $MYSQL_LIBDIR / $MYSQL_INCIDR variables
6 must be set from the make command line.
7
8 [Peter: Remove host dirs, add MYSQL_INCDIR]
9 Signed-off-by: Baruch Siach <baruch@tkos.co.il>
10 --- 
11 --- poco-1.4.4-all-dist/Data/MySQL/Makefile     2012-09-20 01:30:42.000000000 +0300
12 +++ poco-1.4.4-all/Data/MySQL/Makefile  2012-10-11 14:36:10.343153420 +0200
13 @@ -8,8 +8,8 @@
14  
15  include $(POCO_BASE)/build/rules/global
16  
17 -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
18 -INCLUDE += -I/usr/local/include/mysql/ -I/usr/include/mysql -I/usr/mysql/include/mysql -I/usr/local/mysql/include
19 +SYSLIBS += -L$(MYSQL_LIBDIR) -lmysqlclient
20 +INCLUDE += -I$(MYSQL_INCDIR)
21  SYSFLAGS += -DTHREADSAFE -DNO_TCL
22  
23  objects = Binder Extractor SessionImpl Connector \