[gcr/meson-stuff: 5/6] meson: Don't use get_pkgconfig_variable()




commit e5ddd4d4055a0a304e7c512cb03de035bb030b97
Author: Niels De Graef <nielsdegraef gmail com>
Date:   Sun Jun 12 23:40:18 2022 +0200

    meson: Don't use get_pkgconfig_variable()
    
    It's deprecatedd for `dep.get_variable()`

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index e94db021..e58e97e6 100644
--- a/meson.build
+++ b/meson.build
@@ -55,7 +55,7 @@ if gpg_path == ''
 endif
 libgcrypt_dep = dependency('libgcrypt', version: '>= 1')
 p11kit_dep = dependency('p11-kit-1', version: '>= 0.19.0')
-p11_system_config_modules = p11kit_dep.get_pkgconfig_variable('p11_system_config_modules')
+p11_system_config_modules = p11kit_dep.get_variable('p11_system_config_modules')
 if p11_system_config_modules == ''
   error('Couldn\'t find location for pkcs11 module config')
 endif


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