[LPeg] Missing symbol visibility control

47 views
Skip to first unread message

Dymphna

unread,
Nov 19, 2025, 4:40:05 AM (8 days ago) Nov 19
to lua-l
Hello,

I notice LPeg does not control its exported API symbols, which causes
issues when building with -fvisibility=hidden (and potentially LTO). This breaks the shared lib.

I've been patching this downstream by adding an LPEG_API macro similar
to LUAMOD_API/LUALIB_API. Would be nice to have it fixed upstream; attached the patch in case it's useful.

--D
lpeg_attrs.patch
Reply all
Reply to author
Forward
0 new messages