Closed hakonhagland closed 3 years ago
This seems to be related to this issue. For example
> PKG_CONFIG_PATH=corpus/lib/pkgconfig pkg-config --libs foo
-L/test/lib -lfoo -lbar -lbaz
whereas it should give output -L/test/lib -lfoo
This seems to be a bug in msys version of pkg-config
. I wonder if pkgconf
is better behaved?
Apparently pkgconf
is not available on my system:
> pkgconf
bash: pkgconf: command not found
I think it can be installed with pacman
This does not work:
$ pacman -S pkgconf
error: target not found: pkgconf
I'm closing this as I believe this to be a bug in pkg-config.
I just found that they have recently switched from pkg-config
to pkgconf
, see this pull request. So I updated my MSYS2 installation, and now pkg-config
works correctly!
Also after applying the patch in PR #246, all tests for Alien-Build on MSYS2 now passes here!
System info: Windows 10, MSYS2, perl version 5.32.0.
Note: there are more failed tests, but they seem unrelated so I will post them in separate issues.