fa.openbsd.tech
[Top] [All Lists]

Re: libfreetype linkage with libz. Correct behavior?

Subject: Re: libfreetype linkage with libz. Correct behavior?
From: Edd Barrett <vext01@xxxxxxxxx>
Date: Wed, 30 Jul 2008 21:52:17 UTC
Newsgroups: fa.openbsd.tech

Hi,

Thanks for the prompt reply.

On Wed, Jul 30, 2008 at 10:23:49PM +0200, Matthieu Herrb wrote:
> Yes, it's the expected behavior. Normally in BSD world we don't link  
> libraries together, since it only hides problems on architectures  
> without shared libs (because the .a format doesn't allow for this kind  
> of information).
>
> In X the situation is a bit confused by the fact that there's no easy,  
> standard way to prevent libtool from doing that. So some libs have  
> NEEDED info and other don't.
>
> Since the freetype build system requires GNU make, I had to rewrite BSD  
> Makefiles for Freetype2, so they follow the BSD conventions and doesn't  
> include this information.
>
> If you use pkg-config to find how to use libfreetype, you should get -lz  
> automagically.

Thats a point, you could base the freetype check on pkg-config. What do
you think of that Jonathan?

-- 

Best Regards
Edd

http://students.dec.bmth.ac.uk/ebarrett


<Prev in Thread] Current Thread [Next in Thread>