Bug 50970 - Wrong/uncommon include path in pkgconfig-file
Summary: Wrong/uncommon include path in pkgconfig-file
Status: NEW
Alias: None
Product: FriBidi
Classification: Unclassified
Component: general (show other bugs)
Version: unspecified
Hardware: All All
: medium normal
Assignee: Behdad Esfahbod
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-06-11 08:28 UTC by johannes.zarl
Modified: 2012-07-10 02:13 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments

Description johannes.zarl 2012-06-11 08:28:42 UTC
Most projects (notably libass) seem to #include fribidi with its path:
#include <fribidi/fribidi.h>

The pkg-config file generated from fribidi.pc.in, on the other hand includes the fribidi subdirectory in the cflags:
Cflags: -I${includedir}/@PACKAGE@


This means that projects using include statements relative to PREFIX/include fail to build when fribidi is not installed in a common prefix.

Could you please change the .pc file, so that the "normal" way of writing include-statements works with fribidi?

->
Cflags: -I${includedir}/@PACKAGE@ -I${includedir}
Comment 1 Behdad Esfahbod 2012-07-10 02:13:07 UTC
Humm.  I'd say applications are including wrongly.  Let me think about it.  Not easy to change this.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.