aboutsummaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authorJussi Pakkanen <jpakkane@gmail.com>2016-05-21 19:35:36 +0300
committerJussi Pakkanen <jpakkane@gmail.com>2016-05-21 19:35:36 +0300
commit695aa0b8c28a0069d0e999aa039a60951b440ea4 (patch)
tree7a380df9f1e5b89eaec37512f799977faa31877b /cross
parent0e469426dd799942376dd4ea96ea35ceae7f2cf8 (diff)
downloadmeson-695aa0b8c28a0069d0e999aa039a60951b440ea4.zip
meson-695aa0b8c28a0069d0e999aa039a60951b440ea4.tar.gz
meson-695aa0b8c28a0069d0e999aa039a60951b440ea4.tar.bz2
Made cstdlib a subproject.
Diffstat (limited to 'cross')
-rw-r--r--cross/ownstdlib.txt13
1 files changed, 13 insertions, 0 deletions
diff --git a/cross/ownstdlib.txt b/cross/ownstdlib.txt
new file mode 100644
index 0000000..46e99f7
--- /dev/null
+++ b/cross/ownstdlib.txt
@@ -0,0 +1,13 @@
+# This is a setup for compiling a program that runs natively
+# but uses a custom std lib. This test will only work on
+# x86_64.
+
+[target_machine]
+system = 'linux'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'
+
+[properties]
+
+c_stdlib = ['mylibc', 'mylibc_dep'] # Subproject name, dependency name