Unverified Commit 4f303070 authored by xoviat's avatar xoviat Committed by GitHub
Browse files

[osx_steps] export cppflags

Prefer multibuild library locations over the defaults.
Sometimes multibuild would use an older version
over it's own.
parent fd6a4c39
......@@ -21,7 +21,7 @@ function suppress {
if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
suppress build_openssl
suppress build_openblas
suppress build_libpng
suppress build_libwebp
suppress build_szip
suppress build_swig
......
......@@ -10,3 +10,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
else
source $MULTIBUILD_DIR/travis_linux_steps.sh
fi
# Promote BUILD_PREFIX on search path to find new zlib
export CPPFLAGS="-L$BUILD_PREFIX/include $CPPFLAGS"
export LDFLAGS="-L$BUILD_PREFIX/lib $LDFLAGS"
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment