зеркало из https://github.com/github/ruby.git
`-municode` is available for MinGW-w64 targets only
This commit is contained in:
Родитель
3c3da1ec23
Коммит
07f45065a7
|
@ -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)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче