diff options
author | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-11-09 14:10:29 +0100 |
---|---|---|
committer | Joerg Bornemann <joerg.bornemann@qt.io> | 2020-11-09 16:01:33 +0100 |
commit | 8b086b49b48e7c69413ce08aa534378e54633fe4 (patch) | |
tree | 11363c0edb435bf4b5caaba82990c0b8eea41078 /src/corelib/configure.json | |
parent | 2572a0d43044a082cfb5315c879a7263f5018237 (diff) |
Fix pcre2 feature conditions
The pcre2 feature was turned off when the user passed -system-pcre to
configure. The reason were faulty expressions in the enable/disable
fields.
Fixes: QTBUG-88295
Pick-to: 5.15
Change-Id: I4edee49a9c797797ef3b80f955b48b5492fb4fc7
Reviewed-by: Alexandru Croitor <alexandru.croitor@qt.io>
Diffstat (limited to 'src/corelib/configure.json')
-rw-r--r-- | src/corelib/configure.json | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/corelib/configure.json b/src/corelib/configure.json index 27fff51a0f..5e0bd51ec9 100644 --- a/src/corelib/configure.json +++ b/src/corelib/configure.json @@ -691,8 +691,8 @@ }, "pcre2": { "label": "PCRE2", - "disable": "input.pcre == 'no' || input.pcre == 'system'", - "enable": "input.pcre == 'qt'", + "disable": "input.pcre == 'no'", + "enable": "input.pcre == 'qt' || features.system-pcre2", "output": [ "privateConfig" ] }, "system-pcre2": { |