fix referencing libs fields dispatched to the selected source
the field was "over-expanded", which led to always querying the non-existing source with an empty name. this broke the handcrafted openssl library export which uses the feature. amends c0cc50520. Task-number: QTBUG-55530 Change-Id: Id019fcb3e7adcecaf47d7a65820179da1617c0f7 Reviewed-by: Timur Pocheptsov <timur.pocheptsov@theqtcompany.com> Reviewed-by: Jake Petroules <jake.petroules@qt.io> Reviewed-by: Kai Koehne <kai.koehne@qt.io>
This commit is contained in:
parent
05fd7f8d90
commit
65d5bfc63d
@ -1006,7 +1006,7 @@ defineReplace(qtConfEvaluateSingleExpression) {
|
||||
error("Unknown library object $${lib} in expression '$${1}'.")
|
||||
qtConfHandleLibrary($$lib)
|
||||
!defined($${currentConfig}.libraries.$${lib}.$${var}, var): \
|
||||
var = sources.$$eval($${currentConfig}.libraries.$${lib}.$${source}).$$var
|
||||
var = sources.$$eval($${currentConfig}.libraries.$${lib}.source).$$var
|
||||
result = $$eval($${currentConfig}.libraries.$${lib}.$${var})
|
||||
} else: contains(e, "^features\..*") {
|
||||
feature = $$section(e, ".", 1, 1)
|
||||
|
Loading…
x
Reference in New Issue
Block a user