[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Freetype] freetype-config fixes
From: |
Werner LEMBERG |
Subject: |
Re: [Freetype] freetype-config fixes |
Date: |
Tue, 19 Mar 2002 07:58:56 +0100 (CET) |
> When I look in my config script, I see:
> if test "$echo_cflags" = "yes"; then
> cflags="-I${prefix}/include/freetype2"
> echo $cflags $includes
> fi
Ah, I have
if test "$echo_cflags" = "yes" ; then
cflags="address@hidden@/freetype2"
if test "@includedir@" != "/usr/include" ; then
echo address@hidden@ $cflags
else
echo $cflags
fi
fi
This fix has been included in the 2.0.7 version, IIRC.
> > And
> >
> > /xxx/bin/freetype-config --libs
> >
> > yields
> >
> > -L/xxx/lib -lfreetype .
>
> I think I see the problem here. Looking at the script, it does:
> libs="-lfreetype"
> if test "${exec_prefix}/lib" != "/usr/lib" ; then
> echo -L${exec_prefix}/lib $libs
> else
> echo $libs
> fi
>
> Note that it won't print out -L/usr/lib.
Yes, this is correct. Where is the problem?
Werner