summaryrefslogtreecommitdiff
path: root/src/task_so.cc
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 11:03:12 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2021-11-06 11:03:12 +0100
commit92cc25c10bcba1f14cbf28bd0298311b8e81a2ea (patch)
tree1d35fd2cd31f7ef3718b46244a4305b44c295ec1 /src/task_so.cc
parent1689e28435021f9bd12d92d167113338eb230057 (diff)
Fix rebuilding after adding or removing of ctor.cc files to the build configuration using -a/-r commandline args..
Diffstat (limited to 'src/task_so.cc')
-rw-r--r--src/task_so.cc7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/task_so.cc b/src/task_so.cc
index 96fa1a3..5aa5723 100644
--- a/src/task_so.cc
+++ b/src/task_so.cc
@@ -198,5 +198,12 @@ std::string TaskSO::flagsString() const
flagsStr += dep;
}
+ auto deps = depends();
+ for(const auto& dep : deps)
+ {
+ flagsStr += " ";
+ flagsStr += dep;
+ }
+
return flagsStr;
}