mirror of
https://github.com/notepad-plus-plus/notepad-plus-plus.git
synced 2025-07-25 23:05:13 +02:00
Fix compiling failure by LLVM/Clang's Windres
Call Windres with explicit UTF-8 encoding for reading .RC files. Fixes #16410, close #16411
This commit is contained in:
parent
17cdde3622
commit
29c71c46bb
@ -44,7 +44,7 @@ endif
|
||||
|
||||
CXXFLAGS := -include $(GCC_DIRECTORY)/gcc-fixes.h -std=c++20
|
||||
RC := $(CROSS_COMPILE)windres
|
||||
RCFLAGS :=
|
||||
RCFLAGS := --codepage=65001
|
||||
CPP_PATH := $(SCINTILLA_DIRECTORY)/include $(LEXILLA_DIRECTORY)/include
|
||||
CPP_DEFINE := UNICODE _UNICODE OEMRESOURCE NOMINMAX _WIN32_WINNT=_WIN32_WINNT_WIN7 NTDDI_VERSION=NTDDI_WIN7 TIXML_USE_STL TIXMLA_USE_STL
|
||||
LD := $(CXX)
|
||||
|
Loading…
x
Reference in New Issue
Block a user