Skip to content

Commit 6e5d8c8

Browse files
committed
Move zip config option logic to bin/install-libzip
1 parent 0672bc1 commit 6e5d8c8

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

bin/install-libzip

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,8 @@ make install
3838
popd
3939

4040
# add the option in custom_configure_options
41-
echo "--with-libzip=$LIBZIP_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options
41+
if [[ "$(printf "7.3\n$VERSION" | sort -V | head -n1)" < "7.4" ]]; then
42+
echo "--with-libzip=$LIBZIP_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options
43+
else
44+
echo "--with-zip=$LIBZIP_INSTALL_DIR" >> $TRAVIS_BUILD_DIR/custom_configure_options
45+
fi

default_configure_options.bionic-7.4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
--with-jpeg=/usr
66
--with-freetype=/usr
77
--enable-exif
8-
--with-zip
98
--with-zlib
109
--with-zlib-dir=/usr
1110
--with-mcrypt=/usr

default_configure_options.trusty-7.4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
--with-jpeg=/usr
66
--with-freetype=/usr
77
--enable-exif
8-
--with-zip
98
--with-mcrypt=/usr
109
--with-pdo-sqlite
1110
--enable-soap

default_configure_options.xenial-7.4

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
--with-jpeg=/usr
66
--with-freetype=/usr
77
--enable-exif
8-
--with-zip
98
--with-zlib
109
--with-zlib-dir=/usr
1110
--with-mcrypt=/usr

0 commit comments

Comments
 (0)