Hi Jussi,
I ran into a problem while converting a cmake project to meson: the cmake version of find_library allows for specifying a custom search path and also to inhibit searching the default library paths altogether. Looking at the meson code, I could not find a similar option. I also wondered if you deliberately chose to first look into /usr/lib* paths and only then into /usr/local/lib*, where I would have expected the latter to be preferred?
Is there a way to extend the list of meson search paths for libaries (or programs or includes or ...) that I overlooked? If not, how would that best be implemented?
My use case is the dependency on a modified libgphoto2 library that I can't install in a standard path where it would interfere with my normal desktop system but I would like to prevent the need to setup a full blown chroot environment or virtual machine for the build-step. This use case is probably some overlap with a cross-compile use case.
Regards,
Axel