Skip to content

Commit 9360251

Browse files
committed
ci_build.sh: allow CI workers to say if they have functional libgd (for the current compiler/ABI version) so whether it should not be required
1 parent e381129 commit 9360251

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ci_build.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,7 @@ default|default-alldrv|default-all-errors|default-spellcheck|default-shellcheck|
200200
CONFIG_OPTS+=("--with-doc=skip")
201201
# Enable as many binaries to build as current worker setup allows
202202
CONFIG_OPTS+=("--with-all=auto")
203-
if [[ "$TRAVIS_OS_NAME" != "windows" ]] && [[ "$TRAVIS_OS_NAME" != "freebsd" ]] ; then
203+
if [[ "$TRAVIS_OS_NAME" != "windows" ]] && [[ "$TRAVIS_OS_NAME" != "freebsd" ]] && [ "${BUILD_LIBGD_CGI-}" != "auto" ] ; then
204204
# Currently --with-all implies this, but better be sure to
205205
# really build everything we can to be certain it builds:
206206
if pkg-config --exists libgd || pkg-config --exists libgd2 || pkg-config --exists libgd3 || pkg-config --exists gdlib ; then

0 commit comments

Comments
 (0)