aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/8 -L -l order
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/8 -L -l order')
-rw-r--r--meson/test cases/unit/8 -L -l order/first.pc13
-rw-r--r--meson/test cases/unit/8 -L -l order/meson.build6
-rw-r--r--meson/test cases/unit/8 -L -l order/prog.c5
-rw-r--r--meson/test cases/unit/8 -L -l order/second.pc13
4 files changed, 37 insertions, 0 deletions
diff --git a/meson/test cases/unit/8 -L -l order/first.pc b/meson/test cases/unit/8 -L -l order/first.pc
new file mode 100644
index 000000000..3b811b2e2
--- /dev/null
+++ b/meson/test cases/unit/8 -L -l order/first.pc
@@ -0,0 +1,13 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib/x86_64-linux-gnu
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: jonne
+Description: jonne library
+Version: 1.0.0
+
+Requires:
+Libs: -L/me/first -lfoo1 -L/me/second -lfoo2
+Cflags: -I${includedir}
diff --git a/meson/test cases/unit/8 -L -l order/meson.build b/meson/test cases/unit/8 -L -l order/meson.build
new file mode 100644
index 000000000..cfcf033fa
--- /dev/null
+++ b/meson/test cases/unit/8 -L -l order/meson.build
@@ -0,0 +1,6 @@
+project('jonne', 'c')
+
+firstdep = dependency('first')
+seconddep = dependency('second')
+
+executable('lprog', 'prog.c', dependencies : [firstdep, seconddep])
diff --git a/meson/test cases/unit/8 -L -l order/prog.c b/meson/test cases/unit/8 -L -l order/prog.c
new file mode 100644
index 000000000..3a16ac3dc
--- /dev/null
+++ b/meson/test cases/unit/8 -L -l order/prog.c
@@ -0,0 +1,5 @@
+#include<stdio.h>
+
+int main(int argc, char **argv) {
+ return 0;
+}
diff --git a/meson/test cases/unit/8 -L -l order/second.pc b/meson/test cases/unit/8 -L -l order/second.pc
new file mode 100644
index 000000000..196824b74
--- /dev/null
+++ b/meson/test cases/unit/8 -L -l order/second.pc
@@ -0,0 +1,13 @@
+prefix=/usr
+exec_prefix=${prefix}
+libdir=${prefix}/lib/x86_64-linux-gnu
+sharedlibdir=${libdir}
+includedir=${prefix}/include
+
+Name: jonne2
+Description: jonne2 library
+Version: 1.0.0
+
+Requires:
+Libs: -L/me/third -lfoo3 -L/me/fourth -lfoo4
+Cflags: -I${includedir}