mirror of
https://github.com/vlang/v.git
synced 2025-09-15 02:18:47 -04:00
v.pkgconfig: improve pkg-config/#pkgconfig directive compatibility with the brew
folder structure
This commit is contained in:
parent
bc7a844a64
commit
c355a2a453
@ -16,6 +16,8 @@ const default_paths = [
|
||||
'/usr/lib/pkgconfig',
|
||||
'/usr/share/pkgconfig',
|
||||
'/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 .
|
||||
'/usr/local/libdata/pkgconfig', // FreeBSD
|
||||
'/usr/libdata/pkgconfig', // FreeBSD
|
||||
'/usr/lib/i386-linux-gnu/pkgconfig', // Debian 32bit
|
||||
|
Loading…
x
Reference in New Issue
Block a user