Previously I had installed XMLStarlet (the fantastic xml command line tool) via fink, so it came prepatched. As I recently moved to DarwinPorts after running into too many things refusing to build from fink, I discovered XMLStarlet isn't there =( Anyway, it references foo.a
style libraries instead of foo.dylib
, so here is a trivial patch to allow it to build on OS X =)