From 226c9002dd099917e1d0565e2177636096870831 Mon Sep 17 00:00:00 2001 From: Sam Edwards Date: Mon, 15 Oct 2018 18:45:22 -0600 Subject: [PATCH] travis: Don't use --no-as-needed on osx --- .travis.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 1a26106481..c809dd2ee1 100644 --- a/.travis.yml +++ b/.travis.yml @@ -82,7 +82,7 @@ before_script: script: # This is kind of a hack, but needed to test non-metalib builds (until # interrogate has a way of explicitly calling init_libpanda) -- '[ "x$BUILD_METALIBS" == "xON" ] || export LDFLAGS=-Wl,--no-as-needed' +- '[ "x$BUILD_METALIBS" == "xON" || "x$TRAVIS_OS_NAME" == "xosx" ] || export LDFLAGS=-Wl,--no-as-needed' - > if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then