Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Bull <me@justinbull.ca>2020-03-22 13:22:15 +0300
committerJean-Baptiste Kempf <jb@videolan.org>2020-03-22 13:22:15 +0300
commit0c0b9ef4585c6cc5217b505d5ea6486828b30fce (patch)
tree425702f0902eb6efd59fc5e3cb1efe729f65f77c /package
parent7783a5baf419999d74f36305f64ee1c58c023eff (diff)
Add crosscompile config files for 32, 64-bit Windows and 32-bit Linux
Diffstat (limited to 'package')
-rw-r--r--package/crossfiles/i686-linux32.meson15
-rw-r--r--package/crossfiles/i686-w64-mingw32.meson17
-rw-r--r--package/crossfiles/x86_64-w64-mingw32.meson17
3 files changed, 49 insertions, 0 deletions
diff --git a/package/crossfiles/i686-linux32.meson b/package/crossfiles/i686-linux32.meson
new file mode 100644
index 0000000..95e99b3
--- /dev/null
+++ b/package/crossfiles/i686-linux32.meson
@@ -0,0 +1,15 @@
+[binaries]
+c = 'gcc'
+cpp = 'g++'
+ar = 'ar'
+strip = 'strip'
+
+[properties]
+c_link_args = ['-m32']
+c_args = ['-m32']
+
+[host_machine]
+system = 'linux'
+cpu_family = 'x86'
+cpu = 'i686'
+endian = 'little'
diff --git a/package/crossfiles/i686-w64-mingw32.meson b/package/crossfiles/i686-w64-mingw32.meson
new file mode 100644
index 0000000..1fae70a
--- /dev/null
+++ b/package/crossfiles/i686-w64-mingw32.meson
@@ -0,0 +1,17 @@
+[binaries]
+c = 'i686-w64-mingw32-gcc'
+cpp = 'i686-w64-mingw32-g++'
+ar = 'i686-w64-mingw32-ar'
+strip = 'i686-w64-mingw32-strip'
+windres = 'i686-w64-mingw32-windres'
+exe_wrapper = ['wine']
+
+[properties]
+c_link_args = ['-static-libgcc']
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86'
+cpu = 'i686'
+endian = 'little'
diff --git a/package/crossfiles/x86_64-w64-mingw32.meson b/package/crossfiles/x86_64-w64-mingw32.meson
new file mode 100644
index 0000000..068a128
--- /dev/null
+++ b/package/crossfiles/x86_64-w64-mingw32.meson
@@ -0,0 +1,17 @@
+[binaries]
+c = 'x86_64-w64-mingw32-gcc'
+cpp = 'x86_64-w64-mingw32-g++'
+ar = 'x86_64-w64-mingw32-ar'
+strip = 'x86_64-w64-mingw32-strip'
+windres = 'x86_64-w64-mingw32-windres'
+exe_wrapper = ['wine']
+
+[properties]
+c_link_args = ['-static-libgcc']
+needs_exe_wrapper = true
+
+[host_machine]
+system = 'windows'
+cpu_family = 'x86_64'
+cpu = 'x86_64'
+endian = 'little'