Change: [AzurePipelines] Add freetype dependency for OSX. (#7299)

This commit is contained in:
PeterN 2019-02-28 19:33:31 +00:00 committed by GitHub
parent 76f983a8e7
commit 9ad5112628
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,11 +1,12 @@
steps: steps:
- script: | - script: |
set -ex set -ex
HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config lzo xz libpng HOMEBREW_NO_AUTO_UPDATE=1 brew install pkg-config lzo xz libpng freetype
# Remove the dynamic libraries of these libraries, to ensure we use # Remove the dynamic libraries of these libraries, to ensure we use
# the static versions. That is important, as it is unlikely any # the static versions. That is important, as it is unlikely any
# end-user has these brew libraries installed. # end-user has these brew libraries installed.
rm /usr/local/Cellar/lzo/*/lib/*.dylib rm /usr/local/Cellar/lzo/*/lib/*.dylib
rm /usr/local/Cellar/xz/*/lib/*.dylib rm /usr/local/Cellar/xz/*/lib/*.dylib
rm /usr/local/Cellar/libpng/*/lib/*.dylib rm /usr/local/Cellar/libpng/*/lib/*.dylib
rm /usr/local/Cellar/freetype/*/lib/*.dylib
displayName: 'Install dependencies' displayName: 'Install dependencies'