1
0
Fork 0

[meson] Search for libbz2 also in /usr/local/lib

This commit is contained in:
Witold Filipczyk 2022-07-12 21:08:41 +02:00
parent 60942b3419
commit aaced859ee
1 changed files with 1 additions and 1 deletions

View File

@ -363,7 +363,7 @@ endif
if conf_data.get('CONFIG_BZIP2')
bz2deps = dependency('bzip2', static: st, required: false)
if not bz2deps.found()
bz2deps = compiler.find_library('bz2', static: st)
bz2deps = compiler.find_library('bz2', static: st, dirs: ['/usr/local/lib'])
endif
deps += bz2deps
endif