You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Then create `subprojects/packagefiles/libbob/`, and place the `meson.build` from
66
+
above in that directory. With these in place a call to `dependency('bob')` will
67
+
first try standard discovery methods for your system (such as pkg-config, cmake,
68
+
and any built-in meson find methods), and then fall back to using the binary
69
+
wrap if it cannot find the dependency on the system. Meson provides the
70
+
`--force-fallback-for=bob` command line option to force the use of the fallback.
71
+
45
72
## Note for Linux libraries
46
73
47
74
A precompiled linux shared library (.so) requires a soname field to be properly installed. If the soname field is missing, binaries referencing the library will require a hard link to the location of the library at install time (`/path/to/your/project/subprojects/precompiledlibrary/lib.so` instead of `$INSTALL_PREFIX/lib/lib.so`) after installation.
0 commit comments