2008/12/13 Charlie Savage <c...@savagexi.com>: > > > David Helder wrote: >> >> It should just use the xml2-config that's in the path and the output just >> requires a chop: >> > xml2-config --cflags >> -I/opt/local/include/libxml2 >> > xml2-config --libs >> -L/opt/local/lib -lxml2 -lz -lpthread -liconv -lm >> >> I don't know mkmf that well, > > That makes two of us. > > but I can take a look if I get some time. > > Cool - thanks.
It's much easier to use pkg-config. in extconf.rb: pkg_config('libxml-2.0') -- Felipe Contreras _______________________________________________ libxml-devel mailing list libxml-devel@rubyforge.org http://rubyforge.org/mailman/listinfo/libxml-devel