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:
parent
14942bca60
commit
27211c71e9
5 changed files with 29 additions and 11 deletions
5
subprojects/udis86.wrap
Normal file
5
subprojects/udis86.wrap
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[wrap-file]
|
||||
method = cmake
|
||||
|
||||
[provide]
|
||||
udis86 = libudis86_dep
|
||||
Loading…
Add table
Add a link
Reference in a new issue