mirror of
https://github.com/rkd77/elinks.git
synced 2024-06-24 00:56:14 +00: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
|
endif
|
||||||
|
|
||||||
if conf_data.get('CONFIG_BZIP2')
|
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
|
deps += bz2deps
|
||||||
endif
|
endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user