|
|
||
|
> l = require "mylib"
It seems that calling package.loadlib('./mylib.so','*') inside
luaopen_mylib does not work because ./mylib.so has already been loaded
via require: the load options only apply when the library is first
loaded; this is why works.lua succeeds.