• Zebediah Figura's avatar
    configure: Override PKG_CONFIG_LIBDIR instead of PKG_CONFIG_PATH for 32-bit builds on 64-bit hosts. · c7a97b5d
    Zebediah Figura authored
    This allows 32-bit packages to be found when the user has specified
    PKG_CONFIG_PATH for some other reason.
    
    This also mirrors the way e.g. i686-linux-gnu-pkg-config is implemented on
    Debian, and possibly other distributions as well.
    
    This also prevents 64-bit .pc files from being found. This was originally
    intended as a benefit [1], but can contribute to misdetection of headers which
    are not actually multiarch (e.g. GStreamer, although at the time that [1] was
    written that was a preëxisting problem). In general a distribution which
    provides .pc files for one architecture should be expected to provide them for
    any architecture that it actually provides libraries for; even if that was not
    true of Debian in 2017, it is now. I moreover assert it is better to fail to
    find a present library than to incorrectly find the wrong one.
    
    Note that we can't easily use i686-linux-gnu-pkg-config, as would otherwise be
    preferable, for reasons also described in [1].
    
    [1] https://www.winehq.org/pipermail/wine-devel/2017-June/118002.html
    c7a97b5d
Name
Last commit
Last update
dlls Loading commit data...
documentation Loading commit data...
fonts Loading commit data...
include Loading commit data...
libs Loading commit data...
loader Loading commit data...
nls Loading commit data...
po Loading commit data...
programs Loading commit data...
server Loading commit data...
tools Loading commit data...
.editorconfig Loading commit data...
.gitlab-ci.yml Loading commit data...
.mailmap Loading commit data...
ANNOUNCE Loading commit data...
AUTHORS Loading commit data...
COPYING.LIB Loading commit data...
LICENSE Loading commit data...
LICENSE.OLD Loading commit data...
MAINTAINERS Loading commit data...
README Loading commit data...
VERSION Loading commit data...
aclocal.m4 Loading commit data...
configure Loading commit data...
configure.ac Loading commit data...