# note: msvcrt does not support %zu, see here: # https://stackoverflow.com/questions/44382862/how-to-printf-a-size-t-without-warning-in-mingw-w64-gcc-7-1/44383330 # as a workaround, i replaced all instances of %zu with a cast to (int) # and %d [binaries] c = '/usr/bin/x86_64-w64-mingw32-gcc' ar = '/usr/bin/x86_64-w64-mingw32-ar' strip = '/usr/bin/x86_64-w64-mingw32-strip' sdl2-config = '/usr/local/x86_64-w64-mingw32/bin/sdl2-config' pkgconfig = '/usr/bin/x86_64-w64-mingw32-pkg-config' exe_wrapper = 'wine' [properties] needs_exe_wrapper = true c_args = ['-mwindows'] # c_link_args = ['-L/usr/local/x86_64-w64-mingw32/lib'] [host_machine] system = 'windows' cpu_family = 'x86' cpu = 'x86_64' endian = 'little'