summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Korsgaard <jacmet@sunsite.dk>2010-07-22 09:08:34 +0200
committerPeter Korsgaard <jacmet@sunsite.dk>2010-07-22 09:08:34 +0200
commit519fed5f73d0510c37500463ccde529729e4c7f6 (patch)
tree0812977c3da17088a356bdadff58bc662effcd44
parentcbcc06c3bbcd92e48f8f91cd47bc70d71594b291 (diff)
downloadbuildroot-novena-519fed5f73d0510c37500463ccde529729e4c7f6.tar.gz
buildroot-novena-519fed5f73d0510c37500463ccde529729e4c7f6.zip
lighttpd: fix build with pcre support
We need to tell where pcre-config is installed, now that STAGING_DIR/usr/bin no longer is in the path.
-rw-r--r--CHANGES2
-rw-r--r--package/lighttpd/lighttpd.mk2
2 files changed, 2 insertions, 2 deletions
diff --git a/CHANGES b/CHANGES
index 28fc5bec5..a67effe58 100644
--- a/CHANGES
+++ b/CHANGES
@@ -20,7 +20,7 @@
dropbear, e2fsprogs, fbv, file, flex, fontconfig, gawk,
gstreamer, gzip, intltool, ipsec-tools, iptables, libart,
libcgi, libdrm, libfuse, libgpg-error, libidn, liblockfile,
- libpng, links, linux-fusion, lmbench, lrzsz, make,
+ libpng, lighttpd, links, linux-fusion, lmbench, lrzsz, make,
module-init-tools, mysql_client, nbd, ncurses, neon, netcat,
netperf, ntfsprogs, openssl, php, qt, quagga, sqlite, sdl,
sdl_mixer, sdl_sound, sdl_ttf, squashfs, tn5250, tremor,
diff --git a/package/lighttpd/lighttpd.mk b/package/lighttpd/lighttpd.mk
index 1a2562cfc..3ac1f07ad 100644
--- a/package/lighttpd/lighttpd.mk
+++ b/package/lighttpd/lighttpd.mk
@@ -37,7 +37,7 @@ LIGHTTPD_CONF_OPT += --without-bzip2
endif
ifeq ($(BR2_PACKAGE_LIGHTTPD_PCRE),y)
-LIGHTTPD_CONF_ENV = PCRE_LIB="-lpcre"
+LIGHTTPD_CONF_ENV = PCRECONFIG=$(STAGING_DIR)/usr/bin/pcre-config
LIGHTTPD_DEPENDENCIES += pcre
LIGHTTPD_CONF_OPT += --with-pcre
else