Integrade meson cross file
This commit is contained in:
parent
9ac29a3e77
commit
01d4a8bd36
2 changed files with 19 additions and 0 deletions
|
@ -12,6 +12,7 @@ RUN \
|
||||||
mkdir /opt/ffbuild
|
mkdir /opt/ffbuild
|
||||||
|
|
||||||
ADD toolchain.cmake /toolchain.cmake
|
ADD toolchain.cmake /toolchain.cmake
|
||||||
|
ADD cross.meson /cross.meson
|
||||||
|
|
||||||
ENV FFBUILD_TARGET_FLAGS="--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32" \
|
ENV FFBUILD_TARGET_FLAGS="--pkg-config=pkg-config --cross-prefix=x86_64-w64-mingw32- --arch=x86_64 --target-os=mingw32" \
|
||||||
FFBUILD_TOOLCHAIN=x86_64-w64-mingw32 \
|
FFBUILD_TOOLCHAIN=x86_64-w64-mingw32 \
|
||||||
|
|
18
images/base-win64/cross.meson
Normal file
18
images/base-win64/cross.meson
Normal file
|
@ -0,0 +1,18 @@
|
||||||
|
[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']
|
||||||
|
cpp_link_args = ['-static-libgcc', '-static-libstdc++']
|
||||||
|
needs_exe_wrapper = true
|
||||||
|
|
||||||
|
[host_machine]
|
||||||
|
system = 'windows'
|
||||||
|
cpu_family = 'x86_64'
|
||||||
|
cpu = 'x86_64'
|
||||||
|
endian = 'little'
|
Loading…
Reference in a new issue