freetype-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Git][freetype/freetype][master] * meson.build: Fix `bzip2` option handl


From: Alexei Podtelezhnikov (@apodtele)
Subject: [Git][freetype/freetype][master] * meson.build: Fix `bzip2` option handling.
Date: Sat, 12 Oct 2024 10:49:49 +0000

Alexei Podtelezhnikov pushed to branch master at FreeType / FreeType

Commits:

  • 34aed655
    by Benoit Pierre at 2024-10-12T10:49:46+00:00
    * meson.build: Fix `bzip2` option handling.
    

1 changed file:

Changes:

  • meson.build
    ... ... @@ -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()
    


  • reply via email to

    [Prev in Thread] Current Thread [Next in Thread]