From 24044d6da5d3f3725adc134fdb7e71fe398381ff Mon Sep 17 00:00:00 2001 From: Ivan Komissarov Date: Thu, 21 Oct 2021 23:49:01 +0300 Subject: Split libDirs and extraPaths variables pkg-config has 2 different variables - PKG_CONFIG_LIBDIR overrides the default search paths and PKG_CONFIG_PATH prepends paths to the default paths or paths set via PKG_CONFIG_LIBDIR. Change-Id: I8f67b7bbae9325b17abb20ec5eb8d037626c8089 Reviewed-by: Christian Kandeler --- tests/auto/pkgconfig/tst_pkgconfig.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/auto') diff --git a/tests/auto/pkgconfig/tst_pkgconfig.cpp b/tests/auto/pkgconfig/tst_pkgconfig.cpp index 1b04d231b..542984378 100644 --- a/tests/auto/pkgconfig/tst_pkgconfig.cpp +++ b/tests/auto/pkgconfig/tst_pkgconfig.cpp @@ -72,7 +72,7 @@ void TestPkgConfig::pkgConfig() Options options = qbs::Internal::PkgConfigJs::convertOptions( QProcessEnvironment::systemEnvironment(), optionsMap); - options.searchPaths.push_back(m_workingDataDir.toStdString()); + options.libDirs.push_back(m_workingDataDir.toStdString()); PkgConfig pkgConfig(std::move(options)); -- cgit v1.2.3