diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-03 05:04:57 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-10-03 05:04:57 +0000 |
commit | bfdadb885a95443853dafcc1aeecd26b1f4900e6 (patch) | |
tree | 49a0e03e238d36f0cf734c23c951d41e1c1ae8e4 /win32/Makefile.sub | |
parent | 10e9b638069d9e40233242693814b86c672e423e (diff) |
* win32/{configure.bat,setup.mak,Makefile.sub): add --program-prefix
configure option support.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@19664 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/Makefile.sub')
-rw-r--r-- | win32/Makefile.sub | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/win32/Makefile.sub b/win32/Makefile.sub index cc16a5a44b..eb296abce8 100644 --- a/win32/Makefile.sub +++ b/win32/Makefile.sub @@ -31,7 +31,7 @@ LIB = $(pathlist:;=/lib;) srcdir = .. !endif !ifndef RUBY_INSTALL_NAME -RUBY_INSTALL_NAME = ruby$(RUBY_SUFFIX) +RUBY_INSTALL_NAME = $(PROGRAM_PREFIX)ruby$(RUBY_SUFFIX) !endif !if !defined(RUBYW_INSTALL_NAME) || "$(RUBYW_INSTALL_NAME)" == "$(RUBY_INSTALL_NAME)" RUBYW_INSTALL_NAME = $(RUBY_INSTALL_NAME:ruby=rubyw) @@ -543,7 +543,7 @@ s,@LDFLAGS@,,;t t s,@LIBS@,$(LIBS),;t t s,@exec_prefix@,$${prefix},;t t s,@prefix@,$(prefix),;t t -s,@program_transform_name@,s,$$,$(RUBY_SUFFIX),,;t t +s,@program_transform_name@,s,.*,$(RUBY_PREFIX)&$(RUBY_SUFFIX),,;t t s,@bindir@,$${exec_prefix}/bin,;t t s,@sbindir@,$${exec_prefix}/sbin,;t t s,@libexecdir@,$${exec_prefix}/libexec,;t t |