diff options
Diffstat (limited to 'meson/test cases/common/44 pkgconfig-gen/dependencies/main.c')
-rw-r--r-- | meson/test cases/common/44 pkgconfig-gen/dependencies/main.c | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/meson/test cases/common/44 pkgconfig-gen/dependencies/main.c b/meson/test cases/common/44 pkgconfig-gen/dependencies/main.c new file mode 100644 index 000000000..397d40c1c --- /dev/null +++ b/meson/test cases/common/44 pkgconfig-gen/dependencies/main.c @@ -0,0 +1,10 @@ +#include <simple.h> + +#ifndef LIBFOO +#error LIBFOO should be defined in pkgconfig cflags +#endif + +int main(int argc, char *argv[]) +{ + return simple_function() == 42 ? 0 : 1; +} |