mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-01 05:13:06 +02:00
Merge branch 'pcre2' into 'main'
meson: Fix Windows build with PCRE2 as sibling subproject See merge request GNOME/glib!3601
This commit is contained in:
commit
4700e89f53
@ -2105,7 +2105,7 @@ if not pcre2.found()
|
|||||||
# static flags are automatically enabled by the subproject if it's built
|
# static flags are automatically enabled by the subproject if it's built
|
||||||
# with default_library=static
|
# with default_library=static
|
||||||
use_pcre2_static_flag = false
|
use_pcre2_static_flag = false
|
||||||
elif host_system == 'windows'
|
elif host_system == 'windows' and pcre2.type_name() != 'internal'
|
||||||
pcre2_static = cc.links('''#define PCRE2_STATIC
|
pcre2_static = cc.links('''#define PCRE2_STATIC
|
||||||
#define PCRE2_CODE_UNIT_WIDTH 8
|
#define PCRE2_CODE_UNIT_WIDTH 8
|
||||||
#include <pcre2.h>
|
#include <pcre2.h>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user