Mercurial > mxe-octave
diff binary-dist-rules.mk @ 5956:b8e9589b7794
octave-launch: Use Unicode strings in Windows API functions.
* installer-files/octave-launch.c: Use wchar_t and Unicode Windows API
functions. Use safe functions where applicable.
* binary-dist-rules.mk: Compile as Unicode-aware executable.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Sat, 20 Nov 2021 14:09:41 +0100 |
parents | f42752ce0ae3 |
children | 9cd5425b033b |
line wrap: on
line diff
--- a/binary-dist-rules.mk Fri Nov 19 06:52:00 2021 -0500 +++ b/binary-dist-rules.mk Sat Nov 20 14:09:41 2021 +0100 @@ -98,7 +98,7 @@ ## FIXME: We aren't using VPATH? installer-files/octave-launch.exe: $(TOP_DIR)/installer-files/octave-launch.c | installer-files/.dirstamp - $(MXE_CC) $< -o $@ -Wl,--subsystem,windows -lshlwapi + $(MXE_CC) $< -o $@ -Wl,--subsystem,windows -lshlwapi -municode -DUNICODE -D_UNICODE endif ifeq ($(MXE_WINDOWS_BUILD),yes)