anchor.diff:    configureFlags =
          lib.optional pythonSupport "--with-python=${python}"
       ++ lib.optional icuSupport    "--with-icu"
  -    ++ [ "--exec_prefix=$dev" ];
  +    ++ [ "--exec_prefix=$dev" ]
  +    ++ lib.optional enableStatic "--enable-static";
   
     enableParallelBuilding = true;
   
  
positive.code:     moveToOutput bin/xml2-config "$dev"
      moveToOutput lib/xml2Conf.sh "$dev"
      moveToOutput share/man/man1 "$bin"
    '';
  
    passthru = { inherit version; pythonSupport = pythonSupport; };
  
negative.code:   };
  
    outputs = [ "bin" "dev" "out" "man" "doc" ]
      ++ lib.optional pythonSupport "py"
      ++ lib.optional enableStatic "static";
    propagatedBuildOutputs = "out bin" + lib.optionalString pythonSupport " py";
  
    buildInputs = lib.optional pythonSupport python
  