Commit 1332065a authored by Matthew Brett's avatar Matthew Brett Committed by xoviat
Browse files

Try using LIBRARY_PATH to catch built libs (#88)

* Revert "Revert "[osx_steps] export cppflags""

This reverts commit 7956064f.

* Try using LIBRARY_PATH instead of LDFLAGS
parent 103f9d6c
...@@ -11,7 +11,7 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi ...@@ -11,7 +11,7 @@ if [ "$TRAVIS_OS_NAME" == "osx" ]; then brew update; fi
start_spinner start_spinner
suppress build_openssl suppress build_openssl
suppress build_openblas suppress build_libpng
suppress build_libwebp suppress build_libwebp
suppress build_szip suppress build_szip
suppress build_swig suppress build_swig
......
...@@ -10,3 +10,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then ...@@ -10,3 +10,7 @@ if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
else else
source $MULTIBUILD_DIR/travis_linux_steps.sh source $MULTIBUILD_DIR/travis_linux_steps.sh
fi fi
# Promote BUILD_PREFIX on search path to any newly built libs
export CPPFLAGS="-L$BUILD_PREFIX/include $CPPFLAGS"
export LIBRARY_PATH="$BUILD_PREFIX/lib:$LIBRARY_PATH"
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