tags 642354 wontfix upstream
thanks

On Wed, Sep 21, 2011 at 11:49:30PM +0300, Pauli wrote:
> Package: libfreetype6-dev
> Version: 2.4.6-2
> Severity: normal
> File: /usr/bin/freetype-config

> I used AC_CHECK_FT2 macro in configure.ac to find freetype libs.
> Sametime configure is supposed to big libGLEW fro /usr/local/lib using
> PKG_CHECK_MODULES.

> $ freetype-config --libs
> -L/usr/lib/x86_64-linux-gnu -lfreetype -lz
> $ pkg-config glew --libs
> -L/usr/local/lib -lGLEW

> Later on Makefile.am adds FT2_LIBS before GLEW_LIBS. That results to
> linker selecting libGLEW.so from /usr/lib/x86_64-linux-gnu that is
> standard debian version. Too bad that doesn't lonk because of missing
> EGL symbols that my custom build includes.

> I'm running x86 multib system.

> Same as I collected information for bug report I noticed that pkg-config
> would add correct looking LDFLAGS. I switched my project to the
> pkg-config detection.

Yes, freetype provides a pkg-config .pc file as well, which should be used
in preference to the freetype-config script.  freetype-config should be
considered a deprecated legacy interface, and I'm not going to bother making
it work better given that a better alternative is already available.

Thanks,
-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slanga...@ubuntu.com                                     vor...@debian.org

Attachment: signature.asc
Description: Digital signature

Reply via email to