From f1a80658b08c8b489772052b5569cb1d3086db08 Mon Sep 17 00:00:00 2001 From: dec05eba Date: Sun, 4 Nov 2018 04:29:04 +0100 Subject: Store dependencies in different directories depending on target platform This fixed conflicts in cache filepath when building 32-bit and 64-bit project on the same machine or when doing cross compilation. --- include/GlobalLib.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') diff --git a/include/GlobalLib.hpp b/include/GlobalLib.hpp index 6a6c72a..b6ac60c 100644 --- a/include/GlobalLib.hpp +++ b/include/GlobalLib.hpp @@ -24,7 +24,7 @@ namespace sibs static Result getLibsLinkerFlags(const SibsConfig &parentConfig, const FileString &globalLibRootDir, const std::string &name, const PackageVersionRange &versionRange, LinkerFlagCallbackFunc staticLinkerFlagCallbackFunc, LinkerFlagCallbackFunc dynamicLinkerFlagCallbackFunc, GlobalIncludeDirCallbackFunc globalIncludeDirCallback); static Result getLibsLinkerFlags(const SibsConfig &parentConfig, const FileString &globalLibRootDir, GitDependency *gitDependency, LinkerFlagCallbackFunc staticLinkerFlagCallbackFunc, LinkerFlagCallbackFunc dynamicLinkerFlagCallbackFunc, GlobalIncludeDirCallbackFunc globalIncludeDirCallback); static Result downloadDependency(PackageListDependency *dependency, Platform platform); - static Result downloadDependency(GitDependency *dependency); + static Result downloadDependency(GitDependency *dependency, Platform platform); private: static Result getLibsLinkerFlagsCommon(const SibsConfig &parentConfig, const FileString &packageDir, const std::string &dependencyName, LinkerFlagCallbackFunc staticLinkerFlagCallbackFunc, LinkerFlagCallbackFunc dynamicLinkerFlagCallbackFunc, GlobalIncludeDirCallbackFunc globalIncludeDirCallback); }; -- cgit v1.2.3