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
parent 9588319e72
commit e8accdb22e
No known key found for this signature in database
GPG Key ID: 3582D74E1FEE4465

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)"