summaryrefslogtreecommitdiffstats
path: root/test cases/unit/32 pkgconfig use libraries/lib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/32 pkgconfig use libraries/lib/meson.build')
-rw-r--r--test cases/unit/32 pkgconfig use libraries/lib/meson.build14
1 files changed, 14 insertions, 0 deletions
diff --git a/test cases/unit/32 pkgconfig use libraries/lib/meson.build b/test cases/unit/32 pkgconfig use libraries/lib/meson.build
new file mode 100644
index 0000000..e9918ce
--- /dev/null
+++ b/test cases/unit/32 pkgconfig use libraries/lib/meson.build
@@ -0,0 +1,14 @@
+project('lib', ['c'])
+
+a = library('test-a', 'liba.c', install: true)
+
+b = library('test-b', 'libb.c', link_with: a, install: true)
+
+import('pkgconfig').generate(
+ version: '0.0',
+ description: 'test library',
+ filebase: 'test-b',
+ name: 'test library',
+ libraries: [b],
+ subdirs: ['.']
+)