File tree 1 file changed +1
-2
lines changed
1 file changed +1
-2
lines changed Original file line number Diff line number Diff line change @@ -7,12 +7,12 @@ if test "$PHP_ZIP" != "no"; then
7
7
PKG_CHECK_MODULES([ LIBZIP] , [ libzip >= 0.11] )
8
8
9
9
PHP_EVAL_INCLINE($LIBZIP_CFLAGS)
10
+ PHP_EVAL_LIBLINE($LIBZIP_LIBS, ZIP_SHARED_LIBADD)
10
11
LIBZIP_LIBDIR=`$PKG_CONFIG --variable=libdir libzip`
11
12
12
13
dnl Could not think of a simple way to check libzip for overwrite support
13
14
PHP_CHECK_LIBRARY(zip, zip_open,
14
15
[
15
- PHP_ADD_LIBRARY_WITH_PATH(zip, $LIBZIP_LIBDIR, ZIP_SHARED_LIBADD)
16
16
AC_DEFINE ( HAVE_LIBZIP ,1 ,[ ] )
17
17
] , [
18
18
AC_MSG_ERROR ( could not find usable libzip )
@@ -22,7 +22,6 @@ if test "$PHP_ZIP" != "no"; then
22
22
23
23
PHP_CHECK_LIBRARY(zip, zip_file_set_encryption,
24
24
[
25
- PHP_ADD_LIBRARY_WITH_PATH(zip, $LIBZIP_LIBDIR, ZIP_SHARED_LIBADD)
26
25
AC_DEFINE ( HAVE_ENCRYPTION , 1 , [ Libzip >= 1.2.0 with encryption support] )
27
26
] , [
28
27
AC_MSG_WARN ( Libzip >= 1.2.0 needed for encryption support )
You can’t perform that action at this time.
0 commit comments