Open Panke opened 2 years ago
it will just pass -lfoo.
But then linker still tries to find libfoo
in this case?
This is passed to the linker verbatim and the behaviour depends on the linker used. But this is only done if the library is not found via pkg-config.
Describe the bug Meson does not search correctly for dependencies introduced via dub
Expected behavior If you specify a (e.g. C) library
foo
vialibs
in a dub project file, dub will try to find the library byfoo
and on failure try to find it aslibfoo
. It will use pkg-config for this on posix system. In any case, if that fails and it cannot find the library, it will just pass-lfoo
.Meson should mirror that behaviour, at least the part concerning the
lib
-prefix.system parameters
meson --version
: 0.60.3