Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
Trac #27970: Disable vpx support when building libgd for Cygwin
Browse files Browse the repository at this point in the history
We don't use this functionality anyways.  If it happens to exist in the system
package that is also harmless.  It just happens that the system package for
libvpx is broken in some cases (Cygwin < 2.10).
  • Loading branch information
embray committed Jun 11, 2019
1 parent 2393ace commit cec95ac
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions build/pkgs/libgd/spkg-install
Expand Up @@ -7,6 +7,14 @@ cd src

export CFLAGS="-g $CFLAGS"

if [ "$UNAME" = "CYGWIN" ]; then
# Compiling with vpx support creates a broken library in some cases
# because the vpx package itself is broken on some older Cygwin versions;
# we don't need this feature so safer to just disable
# https://trac.sagemath.org/ticket/27970
LIBGD_CONFIGURE="--without-vpx $LIBGD_CONFIGURE"
fi

# We explicitly disable X and fontconfig support, since (1) X is not a SAGE dependency,
# and (2) the gd build fails on a lot of OS X PPC machines when X is enabled.
sdh_configure --without-jpeg --without-xpm --without-x --without-fontconfig \
Expand Down

0 comments on commit cec95ac

Please sign in to comment.