packages/lang/php5-pecl-libevent/patches/101-openwrt-libevent-libdir.patch
florian 5df34208ab [packages] php5-pecl-libevent: fix build after r32918
The mentioned changeset moved libevent header and library to a specific
subdirectory, so we have to give this pecl module a hint where to look
for its required stuff now.

Signed-off-by: Michael Heimpold <mhei@heimpold.de>

git-svn-id: svn://svn.openwrt.org/openwrt/packages@35279 3c298f89-4303-0410-b956-a3cf2f4a3e73
2013-01-21 15:27:50 +00:00

14 lines
275 B
Diff

--- a/config.m4
+++ b/config.m4
@@ -33,9 +33,7 @@ if test "$PHP_LIBEVENT" != "no"; then
LIBNAME=event
LIBSYMBOL=event_base_new
- if test "x$PHP_LIBDIR" = "x"; then
- PHP_LIBDIR=lib
- fi
+ PHP_LIBDIR=lib/libevent
PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
[