aboutsummaryrefslogtreecommitdiffstats
path: root/meson/test cases/unit/80 global-rpath/yonder
diff options
context:
space:
mode:
Diffstat (limited to 'meson/test cases/unit/80 global-rpath/yonder')
-rw-r--r--meson/test cases/unit/80 global-rpath/yonder/meson.build5
-rw-r--r--meson/test cases/unit/80 global-rpath/yonder/yonder.cpp3
-rw-r--r--meson/test cases/unit/80 global-rpath/yonder/yonder.h1
3 files changed, 9 insertions, 0 deletions
diff --git a/meson/test cases/unit/80 global-rpath/yonder/meson.build b/meson/test cases/unit/80 global-rpath/yonder/meson.build
new file mode 100644
index 000000000..e32f38330
--- /dev/null
+++ b/meson/test cases/unit/80 global-rpath/yonder/meson.build
@@ -0,0 +1,5 @@
+project('yonder', 'cpp')
+yonder = shared_library('yonder', 'yonder.cpp', install: true)
+install_headers('yonder.h')
+pkgconfig = import('pkgconfig')
+pkgconfig.generate(yonder)
diff --git a/meson/test cases/unit/80 global-rpath/yonder/yonder.cpp b/meson/test cases/unit/80 global-rpath/yonder/yonder.cpp
new file mode 100644
index 000000000..b182d34e3
--- /dev/null
+++ b/meson/test cases/unit/80 global-rpath/yonder/yonder.cpp
@@ -0,0 +1,3 @@
+#include "yonder.h"
+
+char *yonder(void) { return "AB54 6BR"; }
diff --git a/meson/test cases/unit/80 global-rpath/yonder/yonder.h b/meson/test cases/unit/80 global-rpath/yonder/yonder.h
new file mode 100644
index 000000000..9d9ad1617
--- /dev/null
+++ b/meson/test cases/unit/80 global-rpath/yonder/yonder.h
@@ -0,0 +1 @@
+char *yonder(void);