1
0
Fork 0

[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
1 changed files with 4 additions and 1 deletions

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