Re: [xslt] [PATCH] Cygwin corrections for 1.0.10



===
----- Original Message -----
From: "Daniel Veillard" <veillard@redhat.com>
To: <xslt@gnome.org>
Sent: Wednesday, January 16, 2002 9:53 PM
Subject: Re: [xslt] [PATCH] Cygwin corrections for 1.0.10


> On Wed, Jan 16, 2002 at 09:26:24PM +1100, Robert Collins wrote:
> > > > That will also work - but which headers are relevant for
libexslt
> > and
> > > > libxslt?
> > >
> > >   libxslt/libxslt.h
> >
> > Can we create libexslt/libexslt.h for libexslt then ?
>
>   Why ?
>
> orchis:~/XSLT/libexslt -> grep "libxslt\.h" *.c
> functions.c:#include "libxslt/libxslt.h"
>
>   it should be able to reuse libxslt.h

No it can't, because then it won't link against libxslt correctly
(because IN_LIBXSLT will be defined, and the LIBXSLT_PUBLIC define will
be '' rather than '__declspec(dllimport)'.

This is why having the define _just_ for compilation of source for the
specific library is so important.

Rob




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