[pango/meson-msvc-cleanup: 2/3] meson.build: Remove strap FontConfig items




commit f1e78584b7858889c72c904bf6e2fa3e5a785226
Author: Chun-wei Fan <fanchunwei src gnome org>
Date:   Mon Feb 21 18:49:12 2022 +0800

    meson.build: Remove strap FontConfig items
    
    Drop items that are actually not used.

 meson.build | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/meson.build b/meson.build
index 788011fc..88a13733 100644
--- a/meson.build
+++ b/meson.build
@@ -270,7 +270,6 @@ cairo_pc = ''
 cairo_lib = ''
 freetype2_pc=''
 fontconfig_pc=''
-fontconfig_lib=''
 
 harfbuzz_dep = dependency('harfbuzz',
                           version: harfbuzz_req_version,
@@ -297,9 +296,6 @@ else
     # Look for the Visual Studio-style import library if FontConfig's .pc file cannot be
     # found on Visual Studio
     fontconfig_dep = cc.find_library('fontconfig', required: fontconfig_option)
-    if fontconfig_dep.found()
-      fontconfig_lib = '-lfontconfig'
-    endif
   endif
 endif
 


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