Skip to content

Commit 08e861c

Browse files
committed
back port aldenml's patch from master to fix brew issue
1 parent 5441874 commit 08e861c

File tree

2 files changed

+14
-10
lines changed

2 files changed

+14
-10
lines changed

.travis.yml

+5-5
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ matrix:
99

1010
- env: variant=test_debug lang=cpp11 sim=0 coverage=0 target=osx-tests
1111
os: osx
12-
osx_image: xcode6.4
12+
osx_image: xcode7.3
1313
- env: variant=test_release lang=cpp11 sim=0 coverage=0 docs=1 target=osx-tests
1414
os: osx
15-
osx_image: xcode6.4
15+
osx_image: xcode7.3
1616
- env: variant=test_debug lang=cpp98 sim=0 coverage=0 target=osx-tests
1717
os: osx
18-
osx_image: xcode6.4
18+
osx_image: xcode7.3
1919

2020
git:
2121
submodules: false
@@ -47,14 +47,14 @@ addons:
4747

4848
before_install:
4949
- git submodule update --init --recursive
50-
- if [ $TRAVIS_OS_NAME == "osx" ]; then brew update > /dev/null && brew install --quiet ccache boost-build boost-python; fi
50+
- if [ $TRAVIS_OS_NAME == "osx" ]; then brew update > /dev/null && brew install ccache boost-build boost-python; fi
5151
- 'if [[ $TRAVIS_OS_NAME == "osx" && $docs = "1" ]]; then
5252
easy_install --user docutils;
5353
mkdir -p /Users/travis/Library/Python/2.7/lib/python/site-packages;
5454
echo ''import site; site.addsitedir("/usr/local/lib/python2.7/site-packages")'' >> /Users/travis/Library/Python/2.7/lib/python/site-packages/homebrew.pth;
5555
easy_install --user Pygments;
5656
easy_install --user aafigure;
57-
brew install --quiet graphviz hunspell;
57+
brew install graphviz hunspell;
5858
easy_install --user Pillow;
5959
fi'
6060

Jamfile

+9-5
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ else
3030
{
3131
local boost-lib-search-path =
3232
<search>/opt/local/lib
33-
<search>/usr/lib
3433
<search>/usr/local/lib
3534
<search>/sw/lib
3635
<search>/usr/g++/lib
@@ -547,13 +546,18 @@ lib gcc : : <name>gcc <link>static ;
547546
# when using iconv
548547
lib libiconv : : <name>iconv <link>shared <search>/usr/local/lib ;
549548

550-
# openssl on linux/bsd/macos etc.
549+
# openssl on linux/bsd etc.
551550
lib gcrypt : : <name>gcrypt <link>shared <search>/opt/local/lib ;
552-
lib z : : <link>shared <name>z <search>/usr/lib ;
553-
lib crypto : : <name>crypto <link>shared <search>/usr/lib <use>z : : <include>/opt/local/include ;
554-
lib ssl : : <name>ssl <link>shared <use>crypto <search>/opt/local/lib : : <include>/opt/local/include ;
551+
lib z : : <link>shared <name>z ;
555552
lib dl : : <link>shared <name>dl ;
556553

554+
# pick up openssl on macos from brew
555+
lib crypto : : <name>crypto <use>z <target-os>darwin <search>/usr/local/opt/openssl/lib : <link>shared : <include>/usr/local/opt/openssl/include ;
556+
lib ssl : : <name>ssl <use>crypto <target-os>darwin <search>/usr/local/opt/openssl/lib : <link>shared : <include>/usr/local/opt/openssl/include ;
557+
558+
lib crypto : : <name>crypto <use>z : <link>shared ;
559+
lib ssl : : <name>ssl <use>crypto : <link>shared ;
560+
557561
# time functions used on linux require librt
558562
lib librt : : <name>rt <link>shared ;
559563

0 commit comments

Comments
 (0)