From 13ce142df137f346526de2a31a7ccbd59a903cdd Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 14 Oct 2018 23:41:20 +0200 Subject: python/build/meson.py: generate `windres` line --- python/build/meson.py | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'python') diff --git a/python/build/meson.py b/python/build/meson.py index 09dffe471..a31b3471a 100644 --- a/python/build/meson.py +++ b/python/build/meson.py @@ -5,8 +5,10 @@ from build.project import Project def make_cross_file(toolchain): if toolchain.is_windows: system = 'windows' + windres = "windres = '%s'" % toolchain.windres else: system = 'linux' + windres = '' if toolchain.is_arm: cpu_family = 'arm' @@ -38,6 +40,7 @@ c = '%s' cpp = '%s' ar = '%s' strip = '%s' +%s [properties] root = '%s' @@ -57,6 +60,7 @@ cpu_family = '%s' cpu = '%s' endian = '%s' """ % (toolchain.cc, toolchain.cxx, toolchain.ar, toolchain.strip, + windres, toolchain.install_prefix, repr((toolchain.cppflags + ' ' + toolchain.cflags).split()), repr(toolchain.ldflags.split()), -- cgit v1.2.3