Unverified Commit c0fad015 authored by Vladimír Čunát's avatar Vladimír Čunát Committed by GitHub
Browse files

perlPackages.{Wx,WxGLCanvas}: fix build failure (#459913)

parents 8b660082 3c28d6c1
Loading
Loading
Loading
Loading
+8 −0
Original line number Diff line number Diff line
@@ -38203,6 +38203,10 @@ with self;
      substituteInPlace ext/dnd/XS/DataObject.xs \
        --replace "#ifdef __WXGTK20__" "#if wxUSE_GUI"
    '';
    # Build system attempts to compile c++ files with clang.
    preConfigure = ''
      export CC=$CXX
    '';
    propagatedBuildInputs = [ AlienWxWidgets ];
    # Testing requires an X server:
    #   Error: Unable to initialize GTK, is DISPLAY set properly?"
@@ -38228,6 +38232,10 @@ with self;
      pkgs.libGLU
      Wx
    ];
    # Build system attempts to compile c++ files with clang.
    preConfigure = ''
      export CC=$CXX
    '';
    doCheck = false;
    meta = {
      description = "wxPerl demo helper for Wx::GLCanvas";