summaryrefslogtreecommitdiff
path: root/win32/configure.bat
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-17 07:20:39 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-10-17 07:20:39 +0000
commit79ca0925b4eebc2863c9d49ca2fac0ec753fe32b (patch)
tree7e6a564f9fd8dba47f3c8eeb2ff5c0b7e54e6c84 /win32/configure.bat
parentaacbca88662a24626a6d0a24f12440dc8e70992e (diff)
install-static-library option [ci skip]
* win32/configure.bat: add option to enable/disable to install static ruby library. defaulted to "no". [Feature #12845] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@56436 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'win32/configure.bat')
-rwxr-xr-xwin32/configure.bat12
1 files changed, 12 insertions, 0 deletions
diff --git a/win32/configure.bat b/win32/configure.bat
index 98c8af3d65d..dca517e4f4e 100755
--- a/win32/configure.bat
+++ b/win32/configure.bat
@@ -30,6 +30,8 @@ if "%1" == "--install-name" goto :installname
if "%1" == "--so-name" goto :soname
if "%1" == "--enable-install-doc" goto :enable-rdoc
if "%1" == "--disable-install-doc" goto :disable-rdoc
+if "%1" == "--enable-install-static-library" goto :enable-lib
+if "%1" == "--disable-install-static-library" goto :disable-lib
if "%1" == "--enable-debug-env" goto :enable-debug-env
if "%1" == "--disable-debug-env" goto :disable-debug-env
if "%1" == "--enable-rubygems" goto :enable-rubygems
@@ -117,6 +119,16 @@ goto :loop ;
echo>>confargs.tmp %1 \
shift
goto :loop ;
+:enable-lib
+ echo>> ~tmp~.mak "INSTALL_STATIC_LIBRARY=yes" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop ;
+:disable-lib
+ echo>> ~tmp~.mak "INSTALL_STATIC_LIBRARY=no" \
+ echo>>confargs.tmp %1 \
+ shift
+goto :loop ;
:enable-debug-env
echo>> ~tmp~.mak "ENABLE_DEBUG_ENV=yes" \
echo>>confargs.tmp %1 \