Skip to content

gio/tests/{meson.build,pollable.c}: Determine libutil SONAME at build time

Calling dlopen() with libutil.so makes the installed tests depend on having glibc's development files installed. To avoid this, we can work out the runtime library name at build time and dlopen that instead.

This approach is taken from libfprint, thanks to Marco Trevisan.

(yes, it would be best if meson supported this directly)

Edited by Iain Lane

Merge request reports