freetype-devel
[Top][All Lists]
Advanced

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

[ft-devel] Cleaning up include paths


From: Behdad Esfahbod
Subject: [ft-devel] Cleaning up include paths
Date: Sun, 29 Sep 2013 22:25:05 -0400
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.0

Hi,

Lets say ${includedir} is /usr/include.  Currently FreeType installs most
headers under ${includedir}/freetype2, but installs ft2build.h under
${includedir}.  As such the freetype2.pc has -I directives for both locations.

This normally works, except that the -I${includedir} part defeats the whole
purpose of keeping things under ${includedir}/freetype2.  The reason for
latter is that different library's -I directives won't interfere with
eachother, but then by including ${includedir} that is totally defeated.

I like to suggest that ft2build.h be moved inside ${includedir}/freetype2 also
and freetype2.pc / freetype-config be updated accordingly.

Please discuss.

-- 
behdad
http://behdad.org/



reply via email to

[Prev in Thread] Current Thread [Next in Thread]