Search Criteria
Package Details: mingw-w64-pkg-config 2-4
Package Actions
Git Clone URL: | https://aur.archlinux.org/mingw-w64-pkg-config.git (read-only, click to copy) |
---|---|
Package Base: | mingw-w64-pkg-config |
Description: | Support pkg-config script (does not depend on any particular version of pkg-config). Useful for pkg-config powered cross-compiling with mingw-w64, see http://tinyurl.com/pkg-config-cross for more info |
Upstream URL: | http://pkg-config.freedesktop.org/ |
Licenses: | zlib |
Submitter: | None |
Maintainer: | xantares |
Last Packager: | xantares |
Votes: | 72 |
Popularity: | 0.036293 |
First Submitted: | 2011-09-06 14:45 (UTC) |
Last Updated: | 2018-10-11 21:48 (UTC) |
Dependencies (2)
- mingw-w64-crt (llvm-mingw-w64-toolchain-ucrt-binAUR, llvm-mingw-w64-toolchain-msvcrt-binAUR)
- pkg-config (pkgconf-gitAUR, pkg-config-gitAUR, pkgconf)
Required by (92)
- carla-bridges-win (make)
- carla-bridges-win-git (make)
- carla-bridges-win32 (make)
- carla-bridges-win32-git
- carla-bridges-win64 (make)
- carla-bridges-win64-git
- mingw-w64-carla
- mingw-w64-cmake
- mingw-w64-configure
- mingw-w64-ffmpeg (make)
- mingw-w64-ffmpeg-minimal (make)
- mingw-w64-fluidsynth (make)
- mingw-w64-gdk-pixbuf2 (make)
- mingw-w64-gtk2 (make)
- mingw-w64-gtk3 (make)
- mingw-w64-gtk4 (make)
- mingw-w64-libadwaita (make)
- mingw-w64-libass (make)
- mingw-w64-libbluray (make)
- mingw-w64-libevent (make)
- Show 72 more...
Latest Comments
xantares commented on 2021-12-25 16:01 (UTC)
try PKG_CONFIG_PATH_CUSTOM
ianks commented on 2021-12-25 02:01 (UTC)
This pkgconf library has been an absolute nightmare for me. Been debugging for hours why my PKG_CONFIG_PATH additions dont seem to be honored. How am I supposed to solve this?
dcbaker commented on 2019-04-04 22:48 (UTC)
Hi, it's both unexpected and very annoying that this completely ignores any PKG_CONFIG_PATH that I set myself, this really should be:
"""
When using the mingw32msvc cross compiler tools, the native Linux
pkg-config executable works fine as long as the default PKG_CONFIG_LIBDIR
is overridden.
export PKG_CONFIG_LIBDIR=$PKG_CONFIG_LIBDIR:/usr/x86_64-w64-mingw32/lib/pkgconfig
Also want to override the standard user defined PKG_CONFIG_PATH with
a mingw32msvc specific one.
You can use PKG_CONFIG_PATH_CUSTOM to tweak pkg-config behavior further
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH:/usr/x86_64-w64-mingw32/lib/pkgconfig """
since neither of these variables are defined by default, and a build system or developer may want to point at their own version of said project instead of the system wide one.
crab2313 commented on 2018-10-11 10:01 (UTC) (edited on 2018-10-11 10:02 (UTC) by crab2313)
@xantares
By the way, I am trying package mingw-w64-spice-gtk, which requires another modification in the scripts. The spice-protocol package will install spice-protocol.pc in the /usr/x86_64-w64-mingw32/share/pkgconfig/ which is not supported by this script.
We can add share/pkgconfig to the default search path:
export PKG_CONFIG_LIBDIR=/usr/x86_64-w64-mingw32/lib/pkgconfig
export PKG_CONFIG_SHAREDIR=/usr/x86_64-w64-mingw32/share/pkgconfig
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH_CUSTOM:$PKG_CONFIG_LIBDIR:$PKG_CONFIG_SHAREDIR
crab2313 commented on 2018-10-11 09:54 (UTC) (edited on 2018-10-11 10:03 (UTC) by crab2313)
@xantares
For example, I want my program be linked with openssl-1.0:
export PKG_CONFIG_PATH_CUSTOM=/usr/x86_64-w64-mingw32/lib/openssl-1.0/pkgconfig/
The default version of openssl is not changed:
x86_64-w64-mingw32-pkg-config --modversion openssl
The output is 1.1.1
But when I change the order of PKG_CONFIG_PATH_CUSTOM and PKG_CONFIG_LIBDIR, the output becomes 1.0.2p
xantares commented on 2018-09-28 07:21 (UTC)
do you have a testcase for me to test ?
crab2313 commented on 2018-09-18 16:46 (UTC)
It doesn't work well with meson. For programs trying to find openssl-1.0, if I set PKG_CONFIG_PATH_CUSTOM to the path to openssl-1.0/pkgconfig, meson will still complains that openssl-1.1 is not meet our requirements.
manually change the scripts solve the problem, like this:
export PKG_CONFIG_PATH=$PKG_CONFIG_PATH_CUSTOM:$PKG_CONFIG_LIBDIR
spider-mario commented on 2017-07-22 09:09 (UTC)
kolewu commented on 2016-02-01 16:48 (UTC)
xantares commented on 2014-10-23 10:48 (UTC)