summaryrefslogtreecommitdiffstats
path: root/package/poco/poco.mk
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2011-10-08 23:06:43 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2011-10-08 23:06:43 +0200
commit610d64b4b934caff1772ce3d30546b53cba53d34 (patch)
tree8fabb1d4286f54b58ccc4bad3afede15918dead6 /package/poco/poco.mk
parentddb8c639c312fd9f65dbb123837c100281495d50 (diff)
downloadbuildroot-novena-610d64b4b934caff1772ce3d30546b53cba53d34.tar.gz
buildroot-novena-610d64b4b934caff1772ce3d30546b53cba53d34.zip
poco: unbreak mysql support
Update patch to also pass include directory for mysql headers, and get rid of host directories in -L / -I arguments. Finally look in staging rather than target for libmysqlclient. Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
Diffstat (limited to 'package/poco/poco.mk')
-rw-r--r--package/poco/poco.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/poco/poco.mk b/package/poco/poco.mk
index 482393577..5d07972d8 100644
--- a/package/poco/poco.mk
+++ b/package/poco/poco.mk
@@ -43,7 +43,8 @@ endef
define POCO_BUILD_CMDS
$(MAKE) POCO_TARGET_OSARCH=$(ARCH) CROSSENV=$(TARGET_CROSS) \
- MYSQL_LIBDIR=$(TARGET_DIR)/usr/lib/mysql -C $(@D)
+ MYSQL_LIBDIR=$(STAGING_DIR)/usr/lib/mysql \
+ MYSQL_INCDIR=$(STAGING_DIR)/usr/include/mysql -C $(@D)
endef
define POCO_INSTALL_STAGING_CMDS