v.pkgconfig: add the default /opt/local/lib/pkgconfig for MacPorts on macos (#24626)

This commit is contained in:
omerrob 2025-05-31 16:25:31 -04:00 committed by GitHub
parent b3cb8a1597
commit 64872fe858
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -18,6 +18,7 @@ const default_paths = [
'/opt/homebrew/lib/pkgconfig', // Brew on macOS
'/opt/homebrew/share/pkgconfig', // Brew on macOS. Needed for fish.pc, eigen3.pc, applewmproto.pc, fontsproto.pc, xextproto.pc, SPIRV-Headers.pc etc; seems like a legacy folder.
'/opt/homebrew/Library/Homebrew/os/mac/pkgconfig/11', // Brew on macOS. Needed for zlib.pc, libcurl.pc, expat.pc and a few others; all the rest are symlinked in /opt/homebrew/lib/pkgconfig .
'/opt/local/lib/pkgconfig', // MacPorts on macOS
'/usr/local/libdata/pkgconfig', // FreeBSD
'/usr/libdata/pkgconfig', // FreeBSD
'/usr/lib/i386-linux-gnu/pkgconfig', // Debian 32bit