1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-12-04 14:46:47 -05:00

[meson] Try to add -lexecinfo . Refs #337

This commit is contained in:
Witold Filipczyk 2024-11-03 19:37:11 +01:00
parent 1655143d0d
commit d2cd4ce39b

View File

@ -380,6 +380,13 @@ if compiler.has_header('execinfo.h')
conf_data.set('HAVE_EXECINFO_H', 1)
endif
if conf_data.get('CONFIG_BACKTRACE') and conf_data.get('HAVE_EXECINFO_H')
execinfodeps = compiler.find_library('execinfo', static: st, required: false)
if execinfodeps.found()
deps += execinfodeps
endif
endif
if conf_data.get('CONFIG_OS_WIN32') and compiler.has_header('windows.h')
conf_data.set('HAVE_WINDOWS_H', 1)
endif