diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-05-22 17:39:36 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-07-06 07:39:32 +0200 |
commit | 0d0fa21e695f3082576053bf0c9b71a3bcc154a4 (patch) | |
tree | ca23f9f6f88e167ecf3be8feaa4d0fb4d5f0b51a /backend | |
parent | 4614d45075684d463c8aa302c594e8496120a7ed (diff) |
Fix for windows
Diffstat (limited to 'backend')
-rw-r--r-- | backend/ninja/Ninja.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/backend/ninja/Ninja.cpp b/backend/ninja/Ninja.cpp index 06da7c0..7053d43 100644 --- a/backend/ninja/Ninja.cpp +++ b/backend/ninja/Ninja.cpp @@ -330,10 +330,10 @@ namespace backend cflagsCallbackFunc(pkgConfigFlag.cflags); } #else - for (const Dependency &dependency : dependencies) - { - globalLibDependencies.push_back(dependency); - } + for (PackageListDependency *pkgConfigDependency : packageListDependencies) + { + globalLibDependencies.push_back(pkgConfigDependency); + } #endif return GlobalLib::getLibs(globalLibDependencies, config, globalLibDir, staticLinkerFlagCallbackFunc, dynamicLinkerFlagCallback, globalIncludeDirCallback); |