Page MenuHomeFreeBSD

flua: support "require" shared objs in the base system
ClosedPublic

Authored by emaste on Aug 13 2020, 7:41 PM.

Details

Summary

Export symbols from flua, and enable dlopen.

Diff Detail

Repository
rS FreeBSD src repository
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

emaste created this revision.

Do you want to limit the export from flua ? Perhaps it is not too important because the tool is private, but I am still curios.

lib/liblua/luaconf.h
78 ↗(On Diff #75799)

We do not need -ldl but we have it.

Do you want to limit the export from flua ? Perhaps it is not too important because the tool is private, but I am still curios.

Perhaps, and my early WIP had a (non-functional) attempt. I had a look at the port though and it seems to have everything exported so I just went with this.

lib/liblua/luaconf.h
78 ↗(On Diff #75799)

Yeah, I just copied this from the MACOSX example, but I guess this was just a hint to someone building on the various platforms, and the comment could probably just be deleted.

This revision was not accepted when it landed; it landed in state Needs Review.Aug 13 2020, 11:13 PM
This revision was automatically updated to reflect the committed changes.