x86_64-w64-mingw32-pkg-config ignores PKG_CONFIG_PATH
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| pkg-config |
Fix Released
|
Undecided
|
戴华豪 | ||
| mingw-w64 (Ubuntu) |
Invalid
|
Undecided
|
戴华豪 | ||
Bug Description
The x86_64-
PKG_CONFIG_
This of course discards whatever PKG_CONFIG_PATH was set in the environment. This causes the cross compilation of VLC to fail, because it expects to be alble to link to libraries it provides by setting PKG_CONFIG_PATH. The solution is to change the x86_64-
if [ -n "$PKG_CONFIG_PATH" ]; then
EXISTING=
fi
PKG_CONFIG_
I'd submit a patch but i'm not entirely sure where and how to do it! If anyone has a few pointers on this that'd be great.
Environment:
Ubuntu 14.04 LTS
Package: mingw-w64-tools
Package version: 3.1.0-1
| affects: | pkg-config (Ubuntu) → pkg-config |
| Changed in pkg-config: | |
| assignee: | nobody → 戴华豪 (dhh78) |
| Changed in mingw-w64 (Ubuntu): | |
| assignee: | nobody → 戴华豪 (dhh78) |
| status: | Invalid → In Progress |
| Changed in mingw-w64 (Ubuntu): | |
| status: | In Progress → Invalid |

Hi,
Thanks for reporting this, it's nice to see the pkg-config wrapper is useful!
The script is actually a symlink to /usr/share/ pkg-config- crosswrapper, which is provided by the pkg-config package. Fixing that would improve the situation for every user of cross-pkg-config, so I'm reassigning this bug to pkg-config.
Regards,
Stephen