diff options
Diffstat (limited to 'scripts/flags.sh')
-rwxr-xr-x | scripts/flags.sh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/scripts/flags.sh b/scripts/flags.sh index 0b1f69ae1c..8703677d0a 100755 --- a/scripts/flags.sh +++ b/scripts/flags.sh @@ -3,7 +3,9 @@ if [[ ${TRAVIS_OS_NAME} == "linux" ]]; then export DISPLAY=:99.0 - sh -e /etc/init.d/xvfb start + if [[ ${MASON_PLATFORM} != "android" ]]; then + sh -e /etc/init.d/xvfb start + fi # use g++ that supports c++11 if [[ ${CXX} == "g++" ]]; then |