diff --git a/tools/qmake/mkspecs/features/configure.prf b/tools/qmake/mkspecs/features/configure.prf index 6e61f2206d70e32d097b3e07648886ec04fc36ea..55a7c45a412c637b30356bb2556ed8dda1ac89b5 100644 --- a/tools/qmake/mkspecs/features/configure.prf +++ b/tools/qmake/mkspecs/features/configure.prf @@ -72,11 +72,11 @@ defineTest(runConfigure) { else: log("System opus not found. Using Chromium's copy.$${EOL}") } packagesExist(libxml-2.0,libxslt) { - PKGCONFIG_LIBS_STATIC = $$system($$PKG_CONFIG --libs --static $$PKGCONFIG_LIB) - contains(PKGCONFIG_LIBS_STATIC, icuuc) { + PKGCONFIG_LIBS_STATIC = $$system($$PKG_CONFIG --libs --static libxml-2.0) + contains(PKGCONFIG_LIBS_STATIC, -licuuc) { WEBENGINE_CONFIG += use_system_libxslt use_system_libxml2 } else { - log("System libxml2 or libxslt not configured with ICU. Using Chromium's copies.$${EOL}") + log("System libxml2 is not configured with ICU. Using Chromium's copy.$${EOL}") } } else: log("System libxml2 or libxslt not found. Using Chromium's copies.$${EOL}")