[packages] php5-pecl-libevent: fix build after r32918
[packages.git] / lang / php5-pecl-libevent / patches / 101-openwrt-libevent-libdir.patch
1 --- a/config.m4
2 +++ b/config.m4
3 @@ -33,9 +33,7 @@ if test "$PHP_LIBEVENT" != "no"; then
4    LIBNAME=event
5    LIBSYMBOL=event_base_new
6  
7 -  if test "x$PHP_LIBDIR" = "x"; then
8 -    PHP_LIBDIR=lib
9 -  fi
10 +  PHP_LIBDIR=lib/libevent
11  
12    PHP_CHECK_LIBRARY($LIBNAME,$LIBSYMBOL,
13    [