Skip to content

Commit

Permalink
google-gflags: fix on Darwin
Browse files Browse the repository at this point in the history
e721905 updated to a version that added
a BUILD file that breaks on case-insensitive filesystems.
  • Loading branch information
copumpkin committed Mar 21, 2017
1 parent add75b6 commit 93005b8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions pkgs/development/libraries/google-gflags/default.nix
Expand Up @@ -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"
Expand Down

0 comments on commit 93005b8

Please sign in to comment.