-municode
is available for MinGW-w64 targets only
This commit is contained in:
parent
3c3da1ec23
commit
07f45065a7
Notes:
git
2024-11-08 03:57:24 +00:00
@ -2,7 +2,12 @@ gnumake = yes
|
||||
|
||||
include Makefile
|
||||
|
||||
ifeq ($(target_os),cygwin)
|
||||
MUNICODE_FLAG =
|
||||
else
|
||||
override EXE_LDFLAGS += -municode
|
||||
MUNICODE_FLAG = -municode
|
||||
endif
|
||||
|
||||
DLLWRAP = @DLLWRAP@ --target=$(target_os) --driver-name="$(CC)"
|
||||
ifeq (@USE_LLVM_WINDRES@,yes) # USE_LLVM_WINDRES
|
||||
@ -71,7 +76,7 @@ $(PROGRAM): $(RUBY_INSTALL_NAME).res.$(OBJEXT)
|
||||
$(WPROGRAM): $(RUBYW_INSTALL_NAME).res.$(OBJEXT)
|
||||
@rm -f $@
|
||||
$(ECHO) linking $@
|
||||
$(Q) $(PURIFY) $(CC) -municode -mwindows -e $(SYMBOL_PREFIX)mainCRTStartup $(LDFLAGS) $(XLDFLAGS) \
|
||||
$(Q) $(PURIFY) $(CC) $(MUNICODE_FLAG) -mwindows -e $(SYMBOL_PREFIX)mainCRTStartup $(LDFLAGS) $(XLDFLAGS) \
|
||||
$(MAINOBJ) $(EXTOBJS) $(LIBRUBYARG) $(LIBS) -o $@
|
||||
$(STUBPROGRAM): $(RUBY_INSTALL_NAME).res.$(OBJEXT)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user