Skip to content

Commit

Permalink
Fix brotli libname, libbrotli never exists. (#5426)
Browse files Browse the repository at this point in the history
  • Loading branch information
fundawang authored Aug 14, 2024
1 parent cb26bb9 commit 6592117
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions config.m4
Original file line number Diff line number Diff line change
Expand Up @@ -848,7 +848,6 @@ EOF
if test "$PHP_BROTLI" != "no" || test "$PHP_BROTLI_DIR" != "no"; then
if test "$PHP_BROTLI_DIR" != "no"; then
PHP_ADD_INCLUDE("${PHP_BROTLI_DIR}/include")
PHP_ADD_LIBRARY_WITH_PATH(brotli, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
PHP_ADD_LIBRARY_WITH_PATH(brotlienc, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
PHP_ADD_LIBRARY_WITH_PATH(brotlidec, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
else
Expand Down Expand Up @@ -998,7 +997,6 @@ EOF
AC_DEFINE(SW_HAVE_COMPRESSION, 1, [have compression])
AC_DEFINE(SW_HAVE_BROTLI, 1, [have brotli encoder])
PHP_ADD_INCLUDE("${PHP_BROTLI_DIR}/include")
PHP_ADD_LIBRARY_WITH_PATH(brotli, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
PHP_ADD_LIBRARY_WITH_PATH(brotlienc, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
PHP_ADD_LIBRARY_WITH_PATH(brotlidec, "${PHP_BROTLI_DIR}/${PHP_LIBDIR}")
fi
Expand Down

0 comments on commit 6592117

Please sign in to comment.