aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/66 static archive stripping/lib/meson.build
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/66 static archive stripping/lib/meson.build')
-rw-r--r--meson/test cases/unit/66 static archive stripping/lib/meson.build23
1 files changed, 23 insertions, 0 deletions
diff --git a/meson/test cases/unit/66 static archive stripping/lib/meson.build b/meson/test cases/unit/66 static archive stripping/lib/meson.build
new file mode 100644
index 000000000..ae50fa7b4
--- /dev/null
+++ b/meson/test cases/unit/66 static archive stripping/lib/meson.build
@@ -0,0 +1,23 @@
+project('lib', ['c'])
+
+pkg = import('pkgconfig')
+
+a = library('test-a', files('libA.c'), install: true)
+install_headers(files('libA.h'), subdir: 'libA')
+pkg.generate(
+ a,
+ version: '0.0',
+ description: 'test library libA',
+ filebase: 'test-a',
+ name: 'test library libA',
+ subdirs: 'libA')
+
+b = static_library('test-b', files('libB.c'), install: true)
+install_headers(files('libB.h'), subdir: 'libB')
+pkg.generate(
+ b,
+ version: '0.0',
+ description: 'test library libB',
+ filebase: 'test-b',
+ name: 'test library libB',
+ subdirs: 'libB')