summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2017-03-30 23:38:28 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2017-06-02 05:32:16 +0530
commit6963da616bc26708061878788240dbbb11cddc39 (patch)
tree53c1929167f9f7be7763d8c12706d215754a2ae0 /test cases/frameworks
parent6662f36ed36b9fbee700993fa24ca99250161873 (diff)
downloadmeson-6963da616bc26708061878788240dbbb11cddc39.tar.gz
Don't add dependencies recursively while linking
We were doing this on the basis of an old comment, but there was no test for it and I couldn't reproduce the issue with clang on Linux at all. Let's add a (somewhat comprehensive) test and see if it breaks anywhere if we stop doing this. Halves the size of gstreamer's build.ninja from 20M to 8.7M Closes https://github.com/mesonbuild/meson/issues/1057
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/7 gnome/gir/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/frameworks/7 gnome/gir/meson.build b/test cases/frameworks/7 gnome/gir/meson.build
index f3a453433..27585410c 100644
--- a/test cases/frameworks/7 gnome/gir/meson.build
+++ b/test cases/frameworks/7 gnome/gir/meson.build
@@ -12,7 +12,7 @@ girlib = shared_library(
girexe = executable(
'girprog',
sources : 'prog.c',
- dependencies : [glib, gobj, gir],
+ dependencies : [glib, gobj, gir, dep1_dep],
link_with : girlib
)