summaryrefslogtreecommitdiff
path: root/config/windows.config
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@centricular.com>2019-03-14 20:51:06 +0530
committerNirbheek Chauhan <nirbheek@centricular.com>2019-03-16 12:39:52 +0530
commitf69e85a0e6750eca989591732c5c71b03f97ebb3 (patch)
treef124ca5a6bc82033c0139c5a82bc80672843a809 /config/windows.config
parentc9ee9bcef8a0129de417242901870d765adf47a6 (diff)
windows.config: Use MSVC rc instead of GNU windres
We were accidentally always using GNU windres, which meant no symbols for the resources.
Diffstat (limited to 'config/windows.config')
-rw-r--r--config/windows.config1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/windows.config b/config/windows.config
index 9ff2d170..27ac0dbb 100644
--- a/config/windows.config
+++ b/config/windows.config
@@ -113,6 +113,7 @@ if platform == Platform.WINDOWS:
os.path.join(prefix, 'include'))
msvc_toolchain_env['LIB'][0] = append_path(msvc_toolchain_env['LIB'][0],
os.path.join(prefix, 'lib' + lib_suffix))
+ msvc_toolchain_env['WINDRES'] = ['rc', '']
# With MinGW, DirectX headers are inside a subdir, and we don't want to
# accidentally use these when building with MSVC, so we don't unconditionally
# add them to CFLAGS.