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>
This commit is contained in:
parent
2572a0d430
commit
8b086b49b4
@ -637,8 +637,8 @@ qt_feature("mimetype-database" PRIVATE
|
||||
)
|
||||
qt_feature("pcre2"
|
||||
LABEL "PCRE2"
|
||||
ENABLE INPUT_pcre STREQUAL 'qt'
|
||||
DISABLE INPUT_pcre STREQUAL 'no' OR INPUT_pcre STREQUAL 'system'
|
||||
ENABLE INPUT_pcre STREQUAL 'qt' OR QT_FEATURE_system_pcre2
|
||||
DISABLE INPUT_pcre STREQUAL 'no'
|
||||
)
|
||||
qt_feature_config("pcre2" QMAKE_PRIVATE_CONFIG)
|
||||
qt_feature("system-pcre2" PRIVATE
|
||||
|
@ -643,8 +643,8 @@ qt_feature("mimetype-database" PRIVATE
|
||||
)
|
||||
qt_feature("pcre2"
|
||||
LABEL "PCRE2"
|
||||
ENABLE INPUT_pcre STREQUAL 'qt'
|
||||
DISABLE INPUT_pcre STREQUAL 'no' OR INPUT_pcre STREQUAL 'system'
|
||||
ENABLE INPUT_pcre STREQUAL 'qt' OR QT_FEATURE_system_pcre2
|
||||
DISABLE INPUT_pcre STREQUAL 'no'
|
||||
)
|
||||
qt_feature_config("pcre2" QMAKE_PRIVATE_CONFIG)
|
||||
qt_feature("system-pcre2" PRIVATE
|
||||
|
@ -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": {
|
||||
|
Loading…
Reference in New Issue
Block a user