Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType
Commits:
-
34aed655
by Benoit Pierre at 2024-10-12T10:49:46+00:00
1 changed file:
Changes:
... | ... | @@ -320,11 +320,16 @@ else |
320 | 320 | endif
|
321 | 321 | |
322 | 322 | # BZip2 support.
|
323 | -bzip2_dep = dependency('bzip2', required: false)
|
|
323 | +bzip2_dep = dependency(
|
|
324 | + 'bzip2',
|
|
325 | + required: get_option('bzip2').disabled() ? get_option('bzip2') : false,
|
|
326 | +)
|
|
324 | 327 | if not bzip2_dep.found()
|
325 | - bzip2_dep = cc.find_library('bz2',
|
|
328 | + bzip2_dep = cc.find_library(
|
|
329 | + 'bz2',
|
|
326 | 330 | has_headers: ['bzlib.h'],
|
327 | - required: get_option('bzip2'))
|
|
331 | + required: get_option('bzip2'),
|
|
332 | + )
|
|
328 | 333 | endif
|
329 | 334 | |
330 | 335 | if bzip2_dep.found()
|