summaryrefslogtreecommitdiff
path: root/test cases
diff options
context:
space:
mode:
Diffstat (limited to 'test cases')
-rw-r--r--test cases/darwin/1 rpath removal on install/bar.c5
-rw-r--r--test cases/darwin/1 rpath removal on install/foo/foo.c3
-rw-r--r--test cases/darwin/1 rpath removal on install/foo/foo.h1
-rw-r--r--test cases/darwin/1 rpath removal on install/foo/meson.build3
-rw-r--r--test cases/darwin/1 rpath removal on install/meson.build8
5 files changed, 20 insertions, 0 deletions
diff --git a/test cases/darwin/1 rpath removal on install/bar.c b/test cases/darwin/1 rpath removal on install/bar.c
new file mode 100644
index 000000000..b2fd0a664
--- /dev/null
+++ b/test cases/darwin/1 rpath removal on install/bar.c
@@ -0,0 +1,5 @@
+#include "foo/foo.h"
+
+void bar() {
+ foo();
+} \ No newline at end of file
diff --git a/test cases/darwin/1 rpath removal on install/foo/foo.c b/test cases/darwin/1 rpath removal on install/foo/foo.c
new file mode 100644
index 000000000..e355ed459
--- /dev/null
+++ b/test cases/darwin/1 rpath removal on install/foo/foo.c
@@ -0,0 +1,3 @@
+int foo() {
+ return 1 + 2;
+} \ No newline at end of file
diff --git a/test cases/darwin/1 rpath removal on install/foo/foo.h b/test cases/darwin/1 rpath removal on install/foo/foo.h
new file mode 100644
index 000000000..176e7a3be
--- /dev/null
+++ b/test cases/darwin/1 rpath removal on install/foo/foo.h
@@ -0,0 +1 @@
+int foo(); \ No newline at end of file
diff --git a/test cases/darwin/1 rpath removal on install/foo/meson.build b/test cases/darwin/1 rpath removal on install/foo/meson.build
new file mode 100644
index 000000000..cc6fbe4e3
--- /dev/null
+++ b/test cases/darwin/1 rpath removal on install/foo/meson.build
@@ -0,0 +1,3 @@
+foo = library('foo', 'foo.c',
+ install: true,
+) \ No newline at end of file
diff --git a/test cases/darwin/1 rpath removal on install/meson.build b/test cases/darwin/1 rpath removal on install/meson.build
new file mode 100644
index 000000000..093d7deba
--- /dev/null
+++ b/test cases/darwin/1 rpath removal on install/meson.build
@@ -0,0 +1,8 @@
+project('proj', 'c')
+
+subdir('foo')
+
+bar = library('bar', 'bar.c',
+ link_with: foo,
+ install: true,
+) \ No newline at end of file