Merge pull request #807 from theopolis/with_gmake

[Fix #805] Add symlink to gmake for gflags
This commit is contained in:
Teddy Reed 2015-03-02 16:01:33 -08:00
commit 018c1b4f86

View File

@ -132,6 +132,9 @@ function install_gflags() {
if [[ ! -d gflags-2.1.1 ]]; then
tar -xf v2.1.1.tar.gz
fi
if [[ ! -x "$(which gmake)" ]]; then
sudo ln -s `which make` /usr/local/bin/gmake
fi
pushd gflags-2.1.1
cmake -DCMAKE_CXX_FLAGS=-fPIC -DGFLAGS_NAMESPACE:STRING=google .
make