summaryrefslogtreecommitdiff
path: root/test cases/frameworks
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2018-02-20 13:33:19 +0530
committerJussi Pakkanen <jpakkane@gmail.com>2018-02-20 19:26:51 +0200
commit8842839bb4c8dadaba1808535928ede7527d5b53 (patch)
tree86c88bb459b0ad5327a1a364841f5cc47938c0bd /test cases/frameworks
parent0c1c387703c04c8052161b7506c07f216329b232 (diff)
downloadmeson-8842839bb4c8dadaba1808535928ede7527d5b53.tar.gz
pkgconfig deps: Warn when a static library isn't found
A hard error makes this feature useless in most cases since a static library usually won't be found for every library, particularly system libraries like -lm. Instead, warn so the user can provide the static library if they wish. This feature will be expanded and made more extensible and more usable in the future. Closes https://github.com/mesonbuild/meson/issues/2785
Diffstat (limited to 'test cases/frameworks')
-rw-r--r--test cases/frameworks/7 gnome/meson.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/test cases/frameworks/7 gnome/meson.build b/test cases/frameworks/7 gnome/meson.build
index bb9d09f36..795f458e9 100644
--- a/test cases/frameworks/7 gnome/meson.build
+++ b/test cases/frameworks/7 gnome/meson.build
@@ -30,6 +30,9 @@ gobj = dependency('gobject-2.0')
gir = dependency('gobject-introspection-1.0')
gmod = dependency('gmodule-2.0')
+# Test that static deps don't error out when static libraries aren't found
+glib_static = dependency('glib-2.0', static : true)
+
subdir('resources-data')
subdir('resources')
subdir('gir')