From d65e6ff66ebd3907135163d29889673b614c75a3 Mon Sep 17 00:00:00 2001 From: Stephen Gaito Date: Tue, 26 Nov 2019 12:55:53 +0000 Subject: [PATCH] corrected travis 25 --- buildScripts/buildFontforge | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/buildScripts/buildFontforge b/buildScripts/buildFontforge index 7954663..5b6d78f 100755 --- a/buildScripts/buildFontforge +++ b/buildScripts/buildFontforge @@ -4,7 +4,14 @@ source buildScripts/versionEnvs -export CONFIG_SITE=/home/travis/build/pdf2htmlEX/buildScripts/fontforgeConfig.site + +# This is a work-around to fix TravisCI's declaration of PYTHON_CFLAGS +# which is then honoured exactly as is by the fontforge bootstrap and +# configure steps +# +if [ -n "$PYTHON_CFLAGS" ] ; then + export PYTHON_CFLAGS="$(pkg-config --cflags python) $PYTHON_CFLAGS" +fi echo "" echo "-------------------------------" @@ -40,7 +47,6 @@ do patch -p 1 < $APATCHFILE done - tree /usr/include/python2.7 #cd fontforge