[libdvdcss-devel] Faulty include path in libdvdcss.pc

Reimar Döffinger Reimar.Doeffinger at gmx.de
Wed Jan 25 19:09:36 CET 2012


On Wed, Jan 25, 2012 at 10:41:58AM +0100, Fabian Greffrath wrote:
> Hi all,
> 
> the pkg-config file for libdvdcss, which gets installed into e.g.
> /usr/lib/pkgconfig/libdvdcss.pc, contains the following line:
> 
>   Cflags: -I{includedir} -I${includedir}/libdvdcss
> 
> whereas the dvdcss.h header file gets actually installed into
> /usr/include/dvdcss/ (i.e. dvdcss instead of libdvdcss).
> 
> This is due to the src/libdvdcss.pc.in file including the line
> 
>   Cflags: -I{includedir} -I${includedir}/@PACKAGE@
> 
> and @PACKAGE@ being set to "libdvdcss" in configure due to
> 
>   AM_INIT_AUTOMAKE(libdvdcss, 1.2.11)
> 
> in configure.ac.
> 
> Apparently this has never caused any real breakage anywhere but
> would be nice to have fixed anyway.

I think that the headers are supposed to be
included as dvdcss/..., so if there is anything to fix
it would be to remove the -I${includedir}/@PACKAGE
part I think.

Kind regards,
Reimar Döffinger


More information about the libdvdcss-devel mailing list