Commit 48a6774e authored by Weijia Wang's avatar Weijia Wang
Browse files

wxGTK32: drop mesa on darwin

parent e5b4371b
Loading
Loading
Loading
Loading
+2 −5
Original line number Diff line number Diff line
@@ -2,9 +2,6 @@
, stdenv
, expat
, fetchFromGitHub
, fetchpatch
, fetchurl
, gnome2
, gst_all_1
, gtk3
, libGL
@@ -23,7 +20,7 @@
, compat28 ? false
, compat30 ? true
, unicode ? true
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
, withMesa ? !stdenv.isDarwin
, withWebKit ? stdenv.isDarwin
, webkitgtk
, setfile
@@ -115,7 +112,7 @@ stdenv.mkDerivation rec {
    "--enable-webviewwebkit"
  ];

  SEARCH_LIB = "${libGLU.out}/lib ${libGL.out}/lib";
  SEARCH_LIB = lib.optionalString (!stdenv.isDarwin) "${libGLU.out}/lib ${libGL.out}/lib";

  preConfigure = ''
    cp -r ${catch}/* 3rdparty/catch/