Meson: try to find udis86 through pkgconfig, fallback to subproject

Only the fork provides a .pc file, so there's no risk of linking the wrong
lib version. If pkg-config can't find it (most cases), fall back to using
the subproject through the wrap file.
This commit is contained in:
Mihai Fufezan
2024-09-22 21:20:35 +03:00
parent 14942bca60
commit 27211c71e9
5 changed files with 29 additions and 11 deletions

5
subprojects/udis86.wrap Normal file
View File

@@ -0,0 +1,5 @@
[wrap-file]
method = cmake
[provide]
udis86 = libudis86_dep