[glib: 1/2] meson: Add libpcre dependency version, as in configure.ac



commit 4256d99c3d63a893c4396a5db38644bb706a6814
Author: Philip Withnall <withnall endlessm com>
Date:   Fri Jul 6 14:03:57 2018 +0100

    meson: Add libpcre dependency version, as in configure.ac
    
    Prompted by https://gitlab.gnome.org/GNOME/glib/merge_requests/148.
    
    Signed-off-by: Philip Withnall <withnall endlessm com>

 meson.build | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/meson.build b/meson.build
index 6b7489c4e..2be847aa4 100644
--- a/meson.build
+++ b/meson.build
@@ -1632,7 +1632,7 @@ if get_option('internal_pcre')
   pcre = []
   use_system_pcre = false
 else
-  pcre = dependency('libpcre', required : false) # Should check for Unicode support, too. FIXME
+  pcre = dependency('libpcre', version: '>= 8.31', required : false) # Should check for Unicode support, 
too. FIXME
   if not pcre.found()
     if cc.get_id() == 'msvc'
     # MSVC: Search for the PCRE library by the configuration, which corresponds


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