diff options
author | Peter Simons <simons@cryp.to> | 2021-02-26 21:15:17 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2021-02-26 21:35:56 +0100 |
commit | d2aeeb0d20054a1ba2b9924b11471604488655f7 (patch) | |
tree | aac5ee563acc1904d358cda020f0e14732afce70 /pkgs/development/libraries/webkitgtk | |
parent | 15834f467316824c9a34458e6f777941da8e3a8f (diff) |
webkitgtk: remedy the build's confusion about the meaning of "truth"
The package could not compile because it did not know the meaning of TRUE and FALSE [1]. So we have to make sure our build environment provides reasonable, sensible definitions to make the build succeed. [1] https://hydra.nixos.org/build/137292531
Diffstat (limited to 'pkgs/development/libraries/webkitgtk')
-rw-r--r-- | pkgs/development/libraries/webkitgtk/default.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/development/libraries/webkitgtk/default.nix b/pkgs/development/libraries/webkitgtk/default.nix index 9bf91da6cd906..5e9a990d14ed2 100644 --- a/pkgs/development/libraries/webkitgtk/default.nix +++ b/pkgs/development/libraries/webkitgtk/default.nix @@ -155,6 +155,9 @@ stdenv.mkDerivation rec { "-DPORT=GTK" "-DUSE_LIBHYPHEN=OFF" "-DUSE_WPE_RENDERER=OFF" + # ensure backward compatibility with the latest version of icu: + # http://linuxfromscratch.org/blfs/view/svn/x/webkitgtk.html + "-DCMAKE_CXX_FLAGS=-DU_DEFINE_FALSE_AND_TRUE=1" ] ++ optionals stdenv.isDarwin [ "-DENABLE_GRAPHICS_CONTEXT_3D=OFF" "-DENABLE_GTKDOC=OFF" |