summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorAllen Winter <allen.winter@kdab.com>2018-11-12 16:53:38 -0500
committerAllen Winter <allen.winter@kdab.com>2019-01-13 11:54:52 -0500
commit473852f6b1d6df13f14e441f2ab2a23695831253 (patch)
treef635c47567e01a88c2eba27e2e06e3313a49172e /scripts
parent111ee5ff9daf7db21ad0b6874c4b7cc05baf4703 (diff)
downloadlibical-git-473852f6b1d6df13f14e441f2ab2a23695831253.tar.gz
scripts/buildtests.sh - add more settings for the Mac
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/buildtests.sh9
1 files changed, 7 insertions, 2 deletions
diff --git a/scripts/buildtests.sh b/scripts/buildtests.sh
index 11d13ea0..7e12781a 100755
--- a/scripts/buildtests.sh
+++ b/scripts/buildtests.sh
@@ -10,8 +10,13 @@ set -o pipefail
#ensure parallel builds
export MAKEFLAGS=-j8
-#needed to find homebrew's libffi on osx
-export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig
+if (test "`uname -s`" = "Darwin")
+then
+ #needed to find homebrew's libxml2 and libffi on osx
+ export PKG_CONFIG_PATH=/usr/local/opt/libffi/lib/pkgconfig:/usr/local/opt/libxml2/lib/pkgconfig
+ #needed to find the homebrew installed xml2 catalog
+ export XML_CATALOG_FILES=/usr/local/etc/xml/catalog
+fi
##### START FUNCTIONS #####