[Fontconfig-bugs] [Bug 104622] New: fontconfig.pc introduces hardcoded -I/usr/include/glib-2.0
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Jan 14 09:59:42 UTC 2018
https://bugs.freedesktop.org/show_bug.cgi?id=104622
Bug ID: 104622
Summary: fontconfig.pc introduces hardcoded
-I/usr/include/glib-2.0
Product: fontconfig
Version: unspecified
Hardware: Other
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: library
Assignee: fontconfig-bugs at lists.freedesktop.org
Reporter: mohan43u at gmail.com
QA Contact: freedesktop at behdad.org
fontconfig.pc.in contains "Cflags: -I${includedir} @EXPAT_CFLAGS@
@FREETYPE_CFLAGS@ @ICONV_CFLAGS@ @LIBXML2_CFLAGS@" which hardcodes
-I/usr/include/glib-2.0 into fontconfig.pc after compilation.
when pkg-config used with
PKG_CONFIG_PATH=<custompath>/usr/lib/pkgconfig:/usr/lib/pkgconfig, pkg-config
puts -I/usr/include/glib-2.0 instead of -I<custompath>/usr/include/glib-2.0
I think its better to use Requires: instead of using Cflags: to include
dependency libraries
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/fontconfig-bugs/attachments/20180114/4d1b0954/attachment.html>
More information about the Fontconfig-bugs
mailing list