Skip to content

Commit

Permalink
fix config.m4
Browse files Browse the repository at this point in the history
  • Loading branch information
yatsukhnenko committed Oct 17, 2017
1 parent 81859f1 commit 8657557
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -82,13 +82,13 @@ dnl Check for igbinary
fi
PHP_CHECK_LIBRARY(lzf, lzf_compress,
[
PHP_ADD_LIBRARY_WITH_PATH(lzf, $LIBLZF_DIR/lib, LZF_SHARED_LIBADD)
PHP_ADD_LIBRARY_WITH_PATH(lzf, $LIBLZF_DIR/$PHP_LIBDIR, REDIS_SHARED_LIBADD)
], [
AC_MSG_ERROR([could not find usable liblzf])
], [
-L$LIBLZF_DIR/lib
-L$LIBLZF_DIR/$PHP_LIBDIR
])
PHP_SUBST(LZF_SHARED_LIBADD)
PHP_SUBST(REDIS_SHARED_LIBADD)
else
PHP_ADD_INCLUDE(liblzf)
PHP_ADD_INCLUDE($ext_srcdir/liblzf)
Expand Down

0 comments on commit 8657557

Please sign in to comment.