Browse Source

travis: Small syntax fix

Sam Edwards 7 years ago
parent
commit
983d7fa6b9
1 changed files with 1 additions and 1 deletions
  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" || "x$TRAVIS_OS_NAME" == "xosx" ] || export LDFLAGS=-Wl,--no-as-needed'
+- '[ "x$BUILD_METALIBS" == "xON" -o "x$TRAVIS_OS_NAME" == "xosx" ] || export LDFLAGS=-Wl,--no-as-needed'
 
 
 - >
 - >
   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then
   if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then