@@ -29,6 +29,11 @@ stdenv.mkDerivation rec {
2929 makeFlags = stdenv.lib.optionalString (!enableGTK3)
3030 "CODEGENDIR=${pygobject}/share/pygobject/2.0/codegen/ DEFSDIR=${pygtk}/share/pygtk/2.0/defs/";
3131
32+ # Fix broken .la files
33+ preFixup = ''
34+ sed 's,-lgpg-error,-L${libgpgerror}/lib -lgpg-error,' -i $out/lib/*.la
35+ '';
36+
3237 meta = with stdenv.lib; {
3338 description = "A GTK VNC widget";
3439 maintainers = with maintainers; [ raskin offline ];