aboutsummaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2021-11-16 00:11:48 +0530
committerNirbheek Chauhan <nirbheek.chauhan@gmail.com>2021-12-22 12:12:11 +0530
commit37b122b87e716f5a4e909db12a7793d162c599bb (patch)
treeeaa45a96aaf4844a7365aab8584f624ad050cd17 /test cases
parent351aee8ace6eec6b655da321a48a120b020b54c4 (diff)
downloadmeson-37b122b87e716f5a4e909db12a7793d162c599bb.zip
meson-37b122b87e716f5a4e909db12a7793d162c599bb.tar.gz
meson-37b122b87e716f5a4e909db12a7793d162c599bb.tar.bz2
unit tests: Don't check quoting with multiple libs
pkgconf has a bug on MSYS2 due to which prefixes with spaces are not handled correctly if the library has a Requires: on another library and both have prefixes with spaces in them. See: https://github.com/pkgconf/pkgconf/issues/238 So move the unit test to libanswer.pc instead of libfoo.pc till that is fixed.
Diffstat (limited to 'test cases')
-rw-r--r--test cases/common/44 pkgconfig-gen/meson.build1
1 files changed, 1 insertions, 0 deletions
diff --git a/test cases/common/44 pkgconfig-gen/meson.build b/test cases/common/44 pkgconfig-gen/meson.build
index 5e9141f..128205a 100644
--- a/test cases/common/44 pkgconfig-gen/meson.build
+++ b/test cases/common/44 pkgconfig-gen/meson.build
@@ -47,6 +47,7 @@ answerlib = shared_library('answer', 'answer.c')
pkgg.generate(answerlib,
name : 'libanswer',
description : 'An answer library.',
+ extra_cflags : ['-DLIBFOO'],
)
# Test that name_prefix='' and name='libfoo' results in '-lfoo'