aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-10-02 01:18:45 +0200
committerdec05eba <dec05eba@protonmail.com>2020-07-06 07:39:33 +0200
commit030af5f3754dba5872c35754c34c6d40a059c91c (patch)
treeb87f0f183ab012b0b2cbc1b1ce27eda5dd354a30
parent40aaca3b078ec46d18cf3569c45ef4a46f508ca8 (diff)
Remove missing pkg-config output when packaging
-rw-r--r--src/GlobalLib.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/GlobalLib.cpp b/src/GlobalLib.cpp
index 99c783a..a175e02 100644
--- a/src/GlobalLib.cpp
+++ b/src/GlobalLib.cpp
@@ -52,7 +52,8 @@ namespace sibs
{
for(PackageListDependency *globalLibDependency : libs)
{
- printf("Dependency %s is missing from pkg-config, trying global lib\n", globalLibDependency->name.c_str());
+ if(!parentConfig.packaging)
+ printf("Dependency %s is missing from pkg-config, trying global lib\n", globalLibDependency->name.c_str());
Result<bool> globalLibLinkerFlagsResult = GlobalLib::getLibsLinkerFlags(parentConfig, globalLibRootDir, globalLibDependency->name, globalLibDependency->version, staticLinkerFlagCallbackFunc, dynamicLinkerFlagCallbackFunc, globalIncludeDirCallback);
if(!globalLibLinkerFlagsResult)
{