diff options
| author | Carl Hetherington <cth@carlh.net> | 2024-12-24 13:53:24 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2024-12-24 14:17:26 +0100 |
| commit | bc9850ed12045720bfcaa0e866e5e55c90d31b2b (patch) | |
| tree | 4702aad63119ee8191b7035f13b24338fe15b96a | |
| parent | 7f449b7d1bd94c7de1db09cf1cc7af674bd94f25 (diff) | |
Add missing flags to Windows builds.
Without this non-ASCII filenames are all messed up.
| -rw-r--r-- | src/wscript | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wscript b/src/wscript index 102a196..f12ed3d 100644 --- a/src/wscript +++ b/src/wscript @@ -9,8 +9,8 @@ def configure(conf): else: major_minor = '0.0.0' conf.env.append_value('CXXFLAGS', ['-DPACKAGE_VERSION="%s"' % major_minor]) - conf.env.append_value('CXXFLAGS', ['-DASDCP_PLATFORM="win32"', '-DKM_WIN32', '-DWIN32_LEAN_AND_MEAN']) if conf.options.target_windows: + conf.env.append_value('CXXFLAGS', ['-DASDCP_PLATFORM="win32"', '-DKM_WIN32', '-DWIN32_LEAN_AND_MEAN', '-DKM_WIN32_UTF8']) else: conf.env.append_value('CXXFLAGS', '-DASDCP_PLATFORM="linux"') |
