mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] find lua also without pkg-config
This commit is contained in:
parent
eb602605c5
commit
5c31030221
@ -485,7 +485,10 @@ if not conf_data.get('CONFIG_LIBCSS') and get_option('libcss')
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
if conf_data.get('CONFIG_SCRIPTING_LUA')
|
if conf_data.get('CONFIG_SCRIPTING_LUA')
|
||||||
luadeps = dependency(luapkg, static: st)
|
luadeps = dependency(luapkg, static: st, required: false)
|
||||||
|
if not luadeps.found()
|
||||||
|
luadeps = compiler.find_library(luapkg, static: st, dirs: [get_option('prefix')+'/lib','/usr/local/lib'])
|
||||||
|
endif
|
||||||
deps += luadeps
|
deps += luadeps
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user