From 0d0fa21e695f3082576053bf0c9b71a3bcc154a4 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Tue, 22 May 2018 17:39:36 +0200 Subject: Fix for windows --- backend/ninja/Ninja.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'backend/ninja') 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); -- cgit v1.2.3