configure: compile Lua with -DLUA_USE_DLOPEN

Fixes errors when trying to load external dynamic libraries at runtime.
This commit is contained in:
Jeremy Baxter 2024-03-18 09:47:21 +13:00
parent e0c6377779
commit dfb81afddb

2
configure vendored
View file

@ -8,7 +8,7 @@ mkf=config.mk
# these also apply to all libraries in external/
cflags='-std=c99'
cppflags=''
ext_cppflags='-DLUA_USE_POSIX'
ext_cppflags='-DLUA_USE_POSIX -DLUA_USE_DLOPEN'
ldflags='-lm'
# optional libraries to build with support for; a dynamically
# linked Lua 5.4 library may be supported here later