Skip to content

Commit 9d99ae5

Browse files
committed
swig@3 is keg-only and not linked by default so add linking so that the build scripts can find it
1 parent d6e410b commit 9d99ae5

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

.azure-pipelines/steps/run.yml

+1
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ steps:
3838
brew update
3939
brew install xz
4040
brew install swig@3
41+
brew link --force swig@3
4142
displayName: Install build dependencies (OSX)
4243
condition: and(succeeded(), eq(variables['Agent.OS'], 'Darwin'), eq(variables['SCRIPT'],'./x.py dist'))
4344

.travis.yml

+1
Original file line numberDiff line numberDiff line change
@@ -264,6 +264,7 @@ install:
264264
travis_retry brew update &&
265265
travis_retry brew install xz &&
266266
travis_retry brew install swig@3;
267+
brew link --force swig@3
267268
fi &&
268269
travis_retry curl -fo /usr/local/bin/sccache https://s3-us-west-1.amazonaws.com/rust-lang-ci2/rust-ci-mirror/2018-04-02-sccache-x86_64-apple-darwin &&
269270
chmod +x /usr/local/bin/sccache &&

0 commit comments

Comments
 (0)