summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2024-11-10 21:31:43 +0900
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-20 10:18:27 +0900
commit7e2789415b1189072b79a1144f0aa871216e6fd0 (patch)
treec8dfb9440eeed2d49b52c2db5d1b1c613629deff
parentb4afc2b25fbe2c4112b273a5aab51f8371a4feb6 (diff)
Make `MUNICODE_FLAG` simply expanded
It is not expected that `target_os` will change going forward.
-rw-r--r--cygwin/GNUmakefile.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/cygwin/GNUmakefile.in b/cygwin/GNUmakefile.in
index 6fe2a768fb..7bcf1ada30 100644
--- a/cygwin/GNUmakefile.in
+++ b/cygwin/GNUmakefile.in
@@ -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)"