anchor.diff:        bzip2 -c -9 $i > $out/share/doc/${name}/$i.bz2;
       done;
       cp -r html $out/share/doc/${name}
  -  '';
  +
  +  '' + (if stdenv.isDarwin then ''
  +    cp libiniparser.a $out/lib
  +  '' else ''
  +    cp libiniparser.so.0 $out/lib
  +    ln -s libiniparser.so.0 $out/lib/libiniparser.so
  +  '');
   
     meta = {
       homepage = http://ndevilla.free.fr/iniparser;
  
positive.code: 
    patches = ./no-usr.patch;
  
    buildFlags = "libiniparser.so";
  
    installPhase = ''
      mkdir -p $out/lib
      cp libiniparser.so.0 $out/lib
      ln -s libiniparser.so.0 $out/lib/libiniparser.so
  
      mkdir -p $out/include
      cp src/*.h $out/include
  
negative.code: { stdenv, fetchurl }:
  
  let
    inherit (stdenv.lib) optional;
    isClang = (stdenv.cc.cc.isClang or false);
  in
  stdenv.mkDerivation rec{
    name = "iniparser-3.1";
  
  