f751274b17
In Meson cross-files, "pkgconfig" was deprecated in favor of "pkg-config" in meson 1.3.0. The new name is used since 85a94dd4b563e961304b2d9082932c5c1cc2e582 to avoid a warning, but then it fails with older versions of meson. To avoid the problem, define both pkg-config and pkgconfig. > For backward compatibility it is still allowed to define both with the > same value, in that case no deprecation warning is printed. <https://mesonbuild.com/Release-notes-for-1-3-0.html#machine-files-pkgconfig-field-deprecated-and-replaced-by-pkgconfig>
19 lines
431 B
Plaintext
19 lines
431 B
Plaintext
# apt install mingw-w64 mingw-w64-tools
|
|
|
|
[binaries]
|
|
name = 'mingw'
|
|
c = 'x86_64-w64-mingw32-gcc'
|
|
cpp = 'x86_64-w64-mingw32-g++'
|
|
ar = 'x86_64-w64-mingw32-ar'
|
|
strip = 'x86_64-w64-mingw32-strip'
|
|
pkg-config = 'x86_64-w64-mingw32-pkg-config'
|
|
# backward compatibility
|
|
pkgconfig = 'x86_64-w64-mingw32-pkg-config'
|
|
windres = 'x86_64-w64-mingw32-windres'
|
|
|
|
[host_machine]
|
|
system = 'windows'
|
|
cpu_family = 'x86'
|
|
cpu = 'x86_64'
|
|
endian = 'little'
|