com php-src: ext/zip: Replace $LIBZIP_LIBDIR with $LI BZIP_LIBS: ext/zip/config.m4
| From: | Nikita Popov | Date: | Tue, 04 Jun 2019 13:31:35 +0000 |
| Subject: | com php-src: ext/zip: Replace $LIBZIP_LIBDIR with $LI BZIP_LIBS: ext/zip/config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106554@lists.php.net to get a copy of this message | ||
Commit: c9830f1c2c936e766d3615ea7c4f37990e51a113
Author: Hugh McMaster <hugh.mcmaster@outlook.com> Mon, 3 Jun 2019 20:22:03 +1000
Committer: Nikita Popov <nikita.ppv@gmail.com> Tue, 4 Jun 2019 15:31:35 +0200
Parents: a9821255612a99f9773c3601ff1914de4e7a7e32
Branches: PHP-7.4 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c9830f1c2c936e766d3615ea7c4f37990e51a113
Log:
ext/zip: Replace $LIBZIP_LIBDIR with $LIBZIP_LIBS
Closes GH-4220.
Changed paths:
M ext/zip/config.m4
Diff:
diff --git a/ext/zip/config.m4 b/ext/zip/config.m4
index 70eafcd..ae7535f 100644
--- a/ext/zip/config..m4
+++ b/ext/zip/config.m4
@@ -8,7 +8,6 @@ if test "$PHP_ZIP" != "no"; then
PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
- LIBZIP_LIBDIR=
$PKG_CONFIG --variable=libdir libzip
AC_DEFINE(HAVE_LIBZIP, 1, [ ])
@@ -18,7 +17,7 @@ if test "$PHP_ZIP" != "no"; then
], [
AC_MSG_WARN(Libzip >= 1.2.0 needed for encryption support)
], [
- -L$LIBZIP_LIBDIR
+ $LIBZIP_LIBS
])
PHP_CHECK_LIBRARY(zip, zip_libzip_version,
@@ -26,7 +25,7 @@ if test "$PHP_ZIP" != "no"; then
AC_DEFINE(HAVE_LIBZIP_VERSION, 1, [Libzip >= 1.3.1 with zip_libzip_version function])
], [
], [
- -L$LIBZIP_LIBDIR
+ $LIBZIP_LIBS
])
AC_DEFINE(HAVE_ZIP,1,[ ])