configure: compile Lua with -DLUA_USE_DLOPEN
Fixes errors when trying to load external dynamic libraries at runtime.
This commit is contained in:
parent
e0c6377779
commit
dfb81afddb
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue