Commit e5b4371b authored by Weijia Wang's avatar Weijia Wang
Browse files

wxGTK31: drop mesa on darwin

parent fa386a50
Loading
Loading
Loading
Loading
+2 −4
Original line number Diff line number Diff line
{ lib
, stdenv
, fetchFromGitHub
, fetchurl
, gnome2
, gst_all_1
, gtk3
, libGL
@@ -17,7 +15,7 @@
, compat30 ? true
, unicode ? true
, withEGL ? true
, withMesa ? lib.elem stdenv.hostPlatform.system lib.platforms.mesaPlatforms
, withMesa ? !stdenv.isDarwin
, withWebKit ? stdenv.isDarwin
, webkitgtk
, setfile
@@ -96,7 +94,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 = ''
    substituteInPlace configure --replace \