testModule fails with meson: testdso shared lib path depends on the build system
When I try meson build on linux, testModule
test fails because the testdso shared lib is searched in MODULE_PATH
defined to .libs
(because of the autotools I guess).
With meson, it is located elsewhere and the test fails.
One possible solution for this issue : defining MODULE_PATH
in config.h
and include config.h
in testModule.c.
Or passing the path as argument of the test, then retrieved in argv
maybe there are better solutions