summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 14:28:31 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-01-22 14:28:31 +0000
commit98eae5d71ecf6986ff3080dd930036a6abd1ea1a (patch)
tree33b44855e5bf2f2a75bc3dbaeb416b1cfc98bb7f /win32/configure.bat
parent655b18e91490f0cd7e2055e8ab0075c6b2278322 (diff)
configure.bat: --with-libdir
* win32/configure.bat: add --with-libdir option for basename of libdir. on Windows it must be placed under exec_prefix always. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@53619 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat7
1 files changed, 7 insertions, 0 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index edf18b74110..a636da08ab0 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -38,6 +38,7 @@ if "%1" == "--extout" goto :extout
if "%1" == "--path" goto :path
if "%1" == "--with-baseruby" goto :baseruby
if "%1" == "--with-ntver" goto :ntver
+if "%1" == "--with-libdir" goto :libdir
if "%1" == "--without-ext" goto :witharg
if "%1" == "--without-extensions" goto :witharg
if "%opt:~0,10%" == "--without-" goto :withoutarg
@@ -160,6 +161,12 @@ goto :loop
shift
shift
goto :loop
+:libdir
+ echo>> ~tmp~.mak "libdir_basename=%~2" \
+ echo>>confargs.tmp %1=%2 \
+ shift
+ shift
+goto :loop
:witharg
echo>>confargs.tmp %1=%2\
set witharg=1