Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#38112 - Invalid pkg-config with x264

Attached to Project: Arch Linux
Opened by ux (ubitux) - Thursday, 12 December 2013, 06:57 GMT
Last edited by Bartłomiej Piotrowski (Barthalion) - Friday, 13 December 2013, 07:56 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Bartłomiej Piotrowski (Barthalion)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No


The x264 package (20131030-1) relies on {bin,lib,include}dir variables in the Makefile instead of using the appropriate --prefix configure flag.

This seems to be causing a problem with the generated .pc (pkg-config) file:

[~]☭ grep prefix /usr/lib/pkgconfig/x264.pc
Libs: -L${exec_prefix}/lib -lx264
Cflags: -I${prefix}/include

[~]☭ pkg-config --libs --cflags x264
-I/usr/local/include -L/usr/local/lib -lx264

This is of course not where x264 is located.
This task depends upon

Closed by  Bartłomiej Piotrowski (Barthalion)
Friday, 13 December 2013, 07:56 GMT
Reason for closing:  Fixed