mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-12-26 15:36:14 +01: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…
Reference in New Issue
Block a user