EXE_LDFLAGS uses the same MUNICODE_FLAG

This commit is contained in:
Daisuke Fujimura (fd0) 2024-11-06 21:28:19 +09:00 committed by Nobuyoshi Nakada
parent 07f45065a7
commit ae785d88bf
Notes: git 2024-11-08 03:57:23 +00:00

View File

@ -2,12 +2,8 @@ gnumake = yes
include Makefile
ifeq ($(target_os),cygwin)
MUNICODE_FLAG =
else
override EXE_LDFLAGS += -municode
MUNICODE_FLAG = -municode
endif
MUNICODE_FLAG = $(if $(filter mingw%,$(target_os)),-municode)
override EXE_LDFLAGS += $(MUNICODE_FLAG)
DLLWRAP = @DLLWRAP@ --target=$(target_os) --driver-name="$(CC)"
ifeq (@USE_LLVM_WINDRES@,yes) # USE_LLVM_WINDRES