[x264-devel] feature request: configure specifiable pkg-config
Henrik Gramner
henrik at gramner.com
Thu Mar 31 01:37:18 CEST 2016
On Thu, Mar 31, 2016 at 1:25 AM, Roger Pack <rogerdpack2 at gmail.com> wrote:
> 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-
Something like this http://pastebin.com/YPh5FjXB (untested)?
Usage:
PKGCONFIG=/usr/bin/custom-pkg-config ./configure
More information about the x264-devel
mailing list