[x264-devel] feature request: configure specifiable pkg-config

Roger Pack rogerdpack2 at gmail.com
Thu Mar 31 01:25:21 CEST 2016


As a note, when cross compiling "on linux" targeting windows, the
typical behavior is to use the system's normal "pkg-config"

however, with x264's configure script, it has lines like this:

    if ${cross_prefix}pkg-config --exists libavformat libavcodec
libswscale 2>/dev/null; then

where I do want to set cross-prefix to something, but just not for
pkg-config per se.
As it is currently, it tries to run a non-existent pkg-config and ends
up not detecting the correct dependencies from the libav* .pc files.

ffmpeg's configure has this option, which seems related:

  --pkg-config=PKGCONFIG   use pkg-config tool PKGCONFIG [pkg-config]

I presume to accomodate for this type of situation.  So consider this
a feature request for the same in x264.
Cheers!
-roger-


More information about the x264-devel mailing list