Make MUNICODE_FLAG simply expanded

It is not expected that `target_os` will change going forward.
This commit is contained in:
Nobuyoshi Nakada 2024-11-10 21:31:43 +09:00 committed by Hiroshi SHIBATA
parent b4afc2b25f
commit 7e2789415b

View file

@ -2,7 +2,7 @@ gnumake = yes
include Makefile
MUNICODE_FLAG = $(if $(filter mingw%,$(target_os)),-municode)
MUNICODE_FLAG := $(if $(filter mingw%,$(target_os)),-municode)
override EXE_LDFLAGS += $(MUNICODE_FLAG)
DLLWRAP = @DLLWRAP@ --target=$(target_os) --driver-name="$(CC)"