diff options
author | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
---|---|---|
committer | Angelos Mouzakitis <a.mouzakitis@virtualopensystems.com> | 2023-10-10 14:33:42 +0000 |
commit | af1a266670d040d2f4083ff309d732d648afba2a (patch) | |
tree | 2fc46203448ddcc6f81546d379abfaeb323575e9 /meson/test cases/unit/8 -L -l order | |
parent | e02cda008591317b1625707ff8e115a4841aa889 (diff) |
Change-Id: Iaf8d18082d3991dec7c0ebbea540f092188eb4ec
Diffstat (limited to 'meson/test cases/unit/8 -L -l order')
-rw-r--r-- | meson/test cases/unit/8 -L -l order/first.pc | 13 | ||||
-rw-r--r-- | meson/test cases/unit/8 -L -l order/meson.build | 6 | ||||
-rw-r--r-- | meson/test cases/unit/8 -L -l order/prog.c | 5 | ||||
-rw-r--r-- | meson/test cases/unit/8 -L -l order/second.pc | 13 |
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} |