Skip to content
  • Brad King's avatar
    FindPkgConfig: Avoid finding Strawberry Perl's pkg-config · d0dd134b
    Brad King authored
    Strawberry Perl may be in the `PATH` to provide `perl`, but it also
    comes with a `pkg-config` tool that is unrelated to normal MinGW
    distributions.  Since commit c6efbd78 (MSVC: Teach find_library to
    consider the 'libfoo.a' naming convention, 2024-01-19, v3.29.0-rc1~91^2)
    we need to avoid searching Strawberry Perl's `.../c/lib` directory, so
    do not let its `pkg-config` point us there.
    
    Fixes: #25820
    Issue: #23975
    d0dd134b