From: "usa (Usaku NAKAMURA)" Date: 2012-04-24T09:10:52+09:00 Subject: [ruby-dev:45562] [ruby-trunk - Feature #4602][Closed] naming ruby dll (win32/64) Issue #4602 has been updated by usa (Usaku NAKAMURA). Status changed from Assigned to Closed r31587 でした。 ---------------------------------------- Feature #4602: naming ruby dll (win32/64) https://bugs.ruby-lang.org/issues/4602#change-26130 Author: arton (Akio Tajima) Status: Closed Priority: Normal Assignee: usa (Usaku NAKAMURA) Category: build Target version: =begin 同一ディレクトリへwin32版rubyとwin64版rubyをインストールしようとしてdll名が競合したので気付いたのですが、 MSWin版Rubyは、本体がDLLで、かつ、DLL名にconfigureで指定したprogram-suffixやprogram-prefixが反映されない ため、同一ディレクトリへのインストールができません。 Windows版ではファイルは分離しているものの、exeとdllは不可分なので(dllへの分離は組み込み用の利便性と理解 しています)exe同様にdllに対してもconfigreで指定したprogram-suffixやprogram-prefixを反映させたほうが良い と思います。 --- win32/Makefile.sub~ 2011-04-12 00:47:07.000000000 +0900 +++ win32/Makefile.sub 2011-04-24 03:12:39.000000000 +0900 @@ -129,7 +129,7 @@ ruby_version = $(MAJOR).$(MINOR).$(TEENY !endif !ifndef RUBY_SO_NAME -RUBY_SO_NAME = $(RT)-$(RUBY_BASE_NAME)$(MAJOR)$(MINOR)$(TEENY) +RUBY_SO_NAME = $(RT)-$(PROGRAM_PREFIX)$(RUBY_BASE_NAME)$(PROGRAM_SUFFIX)$(MAJOR)$(MINOR)$(TEENY) !endif !ifndef RUBY_PLATFORM RUBY_PLATFORM = $(arch) =end -- http://bugs.ruby-lang.org/