Re: [xml] What to put in Makefile.am for linking to libxml ?



On Tue, Jan 14, 2003 at 05:28:06AM +0000, amores perros wrote:
This is probably a very simple question,
but I'm not educated enough to figure it out
yet.

I put
  INCLUDES=-I/usr/include/libxml2
in my Makefile.am, and now I can compile making libxml
calls (altho, I suspect there may be a better method
than using that absolute path ?), but I don't know what
to put in the Makefile.am in order to link successfully.
Any pointers ?

  use 'xml2-config --cflags' and 'xml2-config --libs' results

Daniel

-- 
Daniel Veillard      | Red Hat Network https://rhn.redhat.com/
veillard redhat com  | libxml GNOME XML XSLT toolkit  http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]