diff options
Diffstat (limited to 'test cases/unit')
| -rw-r--r-- | test cases/unit/58 introspect buildoptions/meson.build | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test cases/unit/58 introspect buildoptions/meson.build b/test cases/unit/58 introspect buildoptions/meson.build index 36e03e0cc..a6a8b86ba 100644 --- a/test cases/unit/58 introspect buildoptions/meson.build +++ b/test cases/unit/58 introspect buildoptions/meson.build @@ -14,5 +14,13 @@ if r.returncode() != 0 error('FAILED') endif +name_prefix = 'lib' +if get_option('buildtype') == 'release' + # ensure that these variables become an UnkownValue + name_prefix = [] +endif + +static_library('hello', 'hello.c', name_prefix: name_prefix) + add_languages(r.stdout().strip(), required: true) add_languages('afgggergearvearghergervergreaergaergasv', required: false) |
