[glib] Meson: Remove legacy code used to write pc files



commit e2c154d9d8664b5eb37a2d9b83ea44bda7955ff6
Author: Xavier Claessens <xavier claessens collabora com>
Date:   Sun May 20 00:12:49 2018 -0400

    Meson: Remove legacy code used to write pc files
    
    We are using meson's generator now so those variables are not used
    anymore.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=796264

 meson.build | 19 +------------------
 1 file changed, 1 insertion(+), 18 deletions(-)
---
diff --git a/meson.build b/meson.build
index 055957fcf..b2fdbae61 100644
--- a/meson.build
+++ b/meson.build
@@ -1684,6 +1684,7 @@ xgettext = find_program('xgettext', required : false)
 libmount_dep = []
 if host_system == 'linux' and get_option('libmount')
   libmount_dep = [dependency('mount', version : '>=2.23', required : true)]
+  glib_conf.set('HAVE_LIBMOUNT', 1)
 endif
 
 if host_system == 'windows'
@@ -1693,7 +1694,6 @@ endif
 selinux_dep = []
 if host_system == 'linux' and get_option('selinux')
   selinux_dep = [dependency('libselinux')]
-  glib_conf.set('SELINUX_LIBS', '-lselinux')
   glib_conf.set('HAVE_SELINUX', 1)
 endif
 
@@ -1752,23 +1752,6 @@ glib_conf.set('STDC_HEADERS', 1)
 # THREADS_NONE
 glib_conf.set('SIZEOF___INT64', 8)
 
-# Various substs needed for our pkg-config files
-# FIXME: Derive these from the dependency() objects (Meson support needed)
-glib_conf.set('ZLIB_LIBS', zlib_libname)
-glib_conf.set('LIBFFI_LIBS', '-lffi')
-if libintl.found()
-  glib_conf.set('INTLLIBS', '-lintl')
-endif
-if libiconv.length() != 0
-  glib_conf.set('ICONV_LIBS', '-liconv')
-endif
-if use_system_pcre
-  glib_conf.set('PCRE_LIBS', '-lpcre')
-endif
-if libmount_dep.length() != 0
-  glib_conf.set('LIBMOUNT_LIBS', '-lmount')
-  glib_conf.set('HAVE_LIBMOUNT', 1)
-endif
 glib_conf.set('GIO_MODULE_DIR', glib_giomodulesdir)
 
 # Sadly Meson does not expose this value:


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