How to add a shared library
Hi all,
A beginner question... I'm trying to build a plugin and have to use a shared library (using dlopen). What should I add to meson.build to get it working?
I tried to add
libdl_dep = cc.find_library('dl', required: false)
but still get "undefined reference to `dlopen'"
What else should I add? I probably need to reference that libdl_dep somewhere....
Thanks,
Alex