mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
[meson] find bzip2 in case of no .pc file
This commit is contained in:
parent
c2182097a9
commit
ec8c8debd4
@ -255,7 +255,10 @@ if conf_data.get('CONFIG_X')
|
||||
endif
|
||||
|
||||
if conf_data.get('CONFIG_BZIP2')
|
||||
bz2deps = dependency('bzip2', static: st)
|
||||
bz2deps = dependency('bzip2', static: st, required: false)
|
||||
if not bz2deps.found()
|
||||
bz2deps = compiler.find_library('bz2', static: st)
|
||||
endif
|
||||
deps += bz2deps
|
||||
endif
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user