mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-09 19:06:15 +01:00
Rename libpcre.wrap to pcre.wrap
It is exactly the same wrap as the one in WrapDB but with a different name. That fix error when multiple projects uses pcre and they don't have the same wrap name: meson.build:1:0: ERROR: Multiple wrap files provide 'libpcre' dependency: pcre.wrap and libpcre.wrap
This commit is contained in:
parent
e4bb09d8ec
commit
9a9f6b5a4b
@ -1999,7 +1999,7 @@ endif
|
||||
|
||||
# Try again with the fallback
|
||||
if not pcre.found()
|
||||
pcre = dependency('libpcre', required : true, fallback : ['libpcre', 'pcre_dep'])
|
||||
pcre = dependency('libpcre', required : true, fallback : ['pcre', 'pcre_dep'])
|
||||
use_pcre_static_flag = true
|
||||
elif host_system == 'windows'
|
||||
pcre_static = cc.links('''#define PCRE_STATIC
|
||||
|
@ -9,3 +9,4 @@ patch_hash = 6b80f72385e1bf06721e26fbc83aced576e9c0d3182d86a55dd173a04050fe26
|
||||
|
||||
[provide]
|
||||
libpcre = pcre_dep
|
||||
|
Loading…
Reference in New Issue
Block a user