File tree Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Expand file tree Collapse file tree 2 files changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -2,6 +2,8 @@ parameters:
2
2
packages : ' '
3
3
4
4
steps :
5
+ - script : brew update
6
+ displayName : ' Update Homebrew'
5
7
- script : |
6
8
brew install pkg-config \
7
9
autoconf \
@@ -23,11 +25,12 @@ steps:
23
25
zlib \
24
26
t1lib \
25
27
gd \
26
- libzip \
27
28
gmp \
28
29
tidyp \
29
30
libxml2 \
30
31
libxslt \
31
32
postgresql
33
+ # Make sure we don't get broken libzip 1.7.0
34
+ brew upgrade libzip
32
35
brew link icu4c gettext --force
33
36
displayName: 'Install Build Dependencies'
Original file line number Diff line number Diff line change 31
31
#include "zend_interfaces.h"
32
32
#include "php_zip.h"
33
33
34
+ #ifndef LIBZIP_VERSION_MAJOR
35
+ # error You are likely using libzip 1.7.0, which is badly broken. Update to libzip 1.7.1
36
+ #endif
37
+
34
38
/* zip_open is a macro for renaming libzip zipopen, so we need to use PHP_NAMED_FUNCTION */
35
39
static PHP_NAMED_FUNCTION (zif_zip_open );
36
40
static PHP_NAMED_FUNCTION (zif_zip_read );
You can’t perform that action at this time.
0 commit comments