1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-06-15 23:35:34 +00:00

[meson] djgpp has no pkgconfig file for expat

This commit is contained in:
Witold Filipczyk 2022-07-12 21:18:35 +02:00
parent 81ec46e11c
commit 2ee5c1a2e8

View File

@ -385,7 +385,10 @@ if conf_data.get('CONFIG_SCRIPTING_LUA')
endif
if conf_data.get('CONFIG_XBEL_BOOKMARKS')
expatdeps = dependency('expat', static: st)
expatdeps = dependency('expat', static: st, required: false)
if not expatdeps.found()
expatdeps = compiler.find_library('expat', static: st, dirs: ['/usr/local/lib'])
endif
deps += expatdeps
endif