configure: link with -E
Fixes the error 'undefined symbol: lua_gettop' when trying to load external Lua shared object libraries.
This commit is contained in:
parent
a1e01cf3c3
commit
cdb477b798
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
@ -9,7 +9,7 @@ mkf=config.mk
|
|||
cflags='-std=c99'
|
||||
cppflags=''
|
||||
ext_cppflags='-DLUA_USE_POSIX -DLUA_USE_DLOPEN'
|
||||
ldflags='-lm'
|
||||
ldflags='-lm -Wl,-E'
|
||||
# optional libraries to build with support for; a dynamically
|
||||
# linked Lua 5.4 library may be supported here later
|
||||
optlibs='readline'
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue