google-gflags: fix on Darwin

e721905d0f updated to a version that added
a BUILD file that breaks on case-insensitive filesystems.
This commit is contained in:
Dan Peebles 2017-03-21 00:42:26 -04:00
parent add75b63c8
commit 93005b82dc

View File

@ -13,6 +13,9 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ cmake ];
# This isn't used by the build and breaks the CMake build on case-insensitive filesystems (e.g., on Darwin)
preConfigure = "rm BUILD";
cmakeFlags = [
"-DBUILD_SHARED_LIBS=ON"
"-DBUILD_STATIC_LIBS=ON"