summaryrefslogtreecommitdiffstats
path: root/php-lzf-rm-bundled-libs.patch
diff options
context:
space:
mode:
Diffstat (limited to 'php-lzf-rm-bundled-libs.patch')
-rw-r--r--php-lzf-rm-bundled-libs.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/php-lzf-rm-bundled-libs.patch b/php-lzf-rm-bundled-libs.patch
index 9c8cacc..36a2ef6 100644
--- a/php-lzf-rm-bundled-libs.patch
+++ b/php-lzf-rm-bundled-libs.patch
@@ -24,7 +24,7 @@ diff -ruN LZF-1.6.2.orig/config.m4 LZF-1.6.2/config.m4
+ dnl
+ LIBNAME=lzf
+ LIBSYMBOL=lzf_decompress
-+ PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL, [PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LZF_DIR/lib, LZF_SHARED_LIBADD) AC_DEFINE(HAVE_LZFLIB,1,[ ])],[AC_MSG_ERROR([lzf libs not found])], [])
++ PHP_CHECK_LIBRARY($LIBNAME, $LIBSYMBOL, [PHP_ADD_LIBRARY_WITH_PATH($LIBNAME, $LZF_DIR/$PHP_LIBDIR, LZF_SHARED_LIBADD) AC_DEFINE(HAVE_LZFLIB,1,[ ])],[AC_MSG_ERROR([lzf libs not found])], [])
+ PHP_SUBST(LZF_SHARED_LIBADD)
+ PHP_NEW_EXTENSION(lzf, lzf.c filter.c, $ext_shared)
fi