Forráskód Böngészése

travis: Don't use --no-as-needed on osx

Sam Edwards 7 éve
szülő
commit
226c9002dd
1 módosított fájl, 1 hozzáadás és 1 törlés
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -82,7 +82,7 @@ before_script:
 script:
 script:
 # This is kind of a hack, but needed to test non-metalib builds (until
 # This is kind of a hack, but needed to test non-metalib builds (until
 # interrogate has a way of explicitly calling init_libpanda)
 # 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
   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then