aboutsummaryrefslogtreecommitdiff
path: root/test cases/common/3 static
diff options
context:
space:
mode:
authorStéphane Cerveau <scerveau@collabora.com>2020-03-04 13:03:47 +0100
committerXavier Claessens <xclaesse@gmail.com>2020-03-04 13:49:01 -0500
commita46f0a620228f9acfbf2340d6d9a2d58229720aa (patch)
treeca10199b5ff2ed8187592d6d60feaf7b2f10d792 /test cases/common/3 static
parent58db8d5e1134e3917b2fb20403624ac090f1f604 (diff)
downloadmeson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.zip
meson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.tar.gz
meson-a46f0a620228f9acfbf2340d6d9a2d58229720aa.tar.bz2
interpreter: add 'name' method to BuildTargetHolder
As any child of BuildTargetHolder might need the name of the object, provides a method to get object name. This is useful in gst-build to display the plugin name and not the filename.
Diffstat (limited to 'test cases/common/3 static')
-rw-r--r--test cases/common/3 static/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/test cases/common/3 static/meson.build b/test cases/common/3 static/meson.build
index 84dab95..04ff2f6 100644
--- a/test cases/common/3 static/meson.build
+++ b/test cases/common/3 static/meson.build
@@ -2,7 +2,7 @@ project('static library test', 'c')
lib = static_library('mylib', get_option('source'),
link_args : '-THISMUSTNOBEUSED') # Static linker needs to ignore all link args.
-
+assert(lib.name() == 'mylib')
has_not_changed = false
if is_disabler(lib)
has_not_changed = true