If I make a rock that has a prosody module and some binary bits (in rust in
my case, but I imagine this situation would be identical for C) then I can
get prosodyctl install to install it just fine, and it can see my module
and try to load it, but when my module tries to require("...") the binary
module it cannot find it, it seems because the custom_plugins directory is
not part of the ?.so search path only the ?.lua search path.
Would it be sensible for prosody to add eg
/var/lib/prosody/custom_plugins/lib/lua/5.4 to the ?.so search path for
require, or is there a different approach I should be considering here?
Thanks.
--
You received this message because you are subscribed to the Google Groups
"prosody-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion visit
https://groups.google.com/d/msgid/prosody-dev/6cd65cf0-3d9c-4bdf-bcb1-0bb674cd7458n%40googlegroups.com.