Use the keg only libpcap paths for OSX build
This commit is contained in:
parent
affc33bd27
commit
6466c8f92e
13
.travis.yml
13
.travis.yml
@ -15,7 +15,18 @@ matrix:
|
||||
compiler: gcc
|
||||
|
||||
before_install:
|
||||
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then brew update && brew tap cartr/qt4 && brew tap-pin cartr/qt4 && brew install qt@4 && brew install protobuf && brew install libpcap && ls -lR /usr/local/include; fi"
|
||||
- "if [ $TRAVIS_OS_NAME = 'osx' ]; then \
|
||||
brew update && \
|
||||
brew tap cartr/qt4 && \
|
||||
brew tap-pin cartr/qt4 && \
|
||||
brew install qt@4 && \
|
||||
brew install protobuf && \
|
||||
brew install libpcap && \
|
||||
ls -lR /usr/local/include; \
|
||||
ls -lR /usr/local/opt; \
|
||||
export CPLUS_INCLUDE_PATH=/usr/local/opt/libpcap/include; \
|
||||
export LIBRARY_PATH=/usr/local/opt/libpcap/lib; \
|
||||
fi"
|
||||
|
||||
addons:
|
||||
apt:
|
||||
|
Loading…
Reference in New Issue
Block a user