summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2017-03-31 05:51:43 -0700
committerShea Levy <shea@shealevy.com>2017-03-31 07:47:09 -0700
commitc923c6c7c5ca947ed27f95749885b9f7871e9a0f (patch)
tree218a29127a8d2c8ec5907708c263b78188665875 /pkgs/development
parent80b40fdf03411a26c0340f28636fe9b5e0afc73b (diff)
downloadnixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar.gz
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar.bz2
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar.lz
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar.xz
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.tar.zst
nixpkgs-c923c6c7c5ca947ed27f95749885b9f7871e9a0f.zip
webkitgtk24x: Fix build on darwin
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/libraries/webkitgtk/2.4.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/pkgs/development/libraries/webkitgtk/2.4.nix b/pkgs/development/libraries/webkitgtk/2.4.nix
index 33f8fa64a0f..603df0407ea 100644
--- a/pkgs/development/libraries/webkitgtk/2.4.nix
+++ b/pkgs/development/libraries/webkitgtk/2.4.nix
@@ -65,6 +65,8 @@ stdenv.mkDerivation rec {
     "--disable-x11-target"
     "--enable-quartz-target"
     "--disable-web-audio"
+    "CFLAGS=-DJSC_OBJC_API_ENABLED=0"
+    "CXXFLAGS=-DJSC_OBJC_API_ENABLED=0"
   ] ++ optionals (!enableCredentialStorage) [
     "--disable-credential-storage"
   ];