summaryrefslogtreecommitdiff
path: root/share/qbs/modules/cpp/cosmic.qbs
diff options
context:
space:
mode:
Diffstat (limited to 'share/qbs/modules/cpp/cosmic.qbs')
-rw-r--r--share/qbs/modules/cpp/cosmic.qbs2
1 files changed, 2 insertions, 0 deletions
diff --git a/share/qbs/modules/cpp/cosmic.qbs b/share/qbs/modules/cpp/cosmic.qbs
index cbcf06af7..f1e8d2784 100644
--- a/share/qbs/modules/cpp/cosmic.qbs
+++ b/share/qbs/modules/cpp/cosmic.qbs
@@ -130,6 +130,7 @@ CppModule {
id: applicationLinker
multiplex: true
inputs: ["obj", "linkerscript"]
+ inputsFromDependencies: ["staticlibrary"]
outputFileTags: Cpp.applicationLinkerOutputTags(generateLinkerMapFile)
outputArtifacts: Cpp.applicationLinkerOutputArtifacts(product)
prepare: COSMIC.prepareLinker.apply(COSMIC, arguments)
@@ -139,6 +140,7 @@ CppModule {
id: staticLibraryLinker
multiplex: true
inputs: ["obj"]
+ inputsFromDependencies: ["staticlibrary"]
outputFileTags: Cpp.staticLibraryLinkerOutputTags()
outputArtifacts: Cpp.staticLibraryLinkerOutputArtifacts(product)
prepare: COSMIC.prepareArchiver.apply(COSMIC, arguments)