summaryrefslogtreecommitdiffstats
path: root/test cases/unit/52 pkgconfig static link order
diff options
context:
space:
mode:
Diffstat (limited to 'test cases/unit/52 pkgconfig static link order')
-rw-r--r--test cases/unit/52 pkgconfig static link order/dummy.c0
-rw-r--r--test cases/unit/52 pkgconfig static link order/meson.build11
2 files changed, 11 insertions, 0 deletions
diff --git a/test cases/unit/52 pkgconfig static link order/dummy.c b/test cases/unit/52 pkgconfig static link order/dummy.c
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/test cases/unit/52 pkgconfig static link order/dummy.c
diff --git a/test cases/unit/52 pkgconfig static link order/meson.build b/test cases/unit/52 pkgconfig static link order/meson.build
new file mode 100644
index 0000000..31449e5
--- /dev/null
+++ b/test cases/unit/52 pkgconfig static link order/meson.build
@@ -0,0 +1,11 @@
+project('link order test', 'c')
+
+dep = library('dependency', 'dummy.c')
+lib = static_library('something', 'dummy.c', link_with: dep)
+
+import('pkgconfig').generate(
+ name: 'libsomething',
+ description: 'test library',
+ libraries: lib,
+ version: '1'
+)