From 7b6e527f440cd7e6f8be2b07cee320ee6ca18786 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 29 Apr 2024 06:41:38 +0200 Subject: Adding upstream version 1.0.1. Signed-off-by: Daniel Baumann --- test cases/unit/27 pkgconfig usage/dependee/meson.build | 6 ++++++ test cases/unit/27 pkgconfig usage/dependee/pkguser.c | 6 ++++++ 2 files changed, 12 insertions(+) create mode 100644 test cases/unit/27 pkgconfig usage/dependee/meson.build create mode 100644 test cases/unit/27 pkgconfig usage/dependee/pkguser.c (limited to 'test cases/unit/27 pkgconfig usage/dependee') diff --git a/test cases/unit/27 pkgconfig usage/dependee/meson.build b/test cases/unit/27 pkgconfig usage/dependee/meson.build new file mode 100644 index 0000000..03e294e --- /dev/null +++ b/test cases/unit/27 pkgconfig usage/dependee/meson.build @@ -0,0 +1,6 @@ +project('pkgconfig user', 'c') + +pkgdep = dependency('libpkgdep') + +executable('pkguser', 'pkguser.c', + dependencies : pkgdep) diff --git a/test cases/unit/27 pkgconfig usage/dependee/pkguser.c b/test cases/unit/27 pkgconfig usage/dependee/pkguser.c new file mode 100644 index 0000000..2bff316 --- /dev/null +++ b/test cases/unit/27 pkgconfig usage/dependee/pkguser.c @@ -0,0 +1,6 @@ +#include + +int main(int argc, char **argv) { + int res = pkgdep(); + return res != 99; +} -- cgit v1.2.3