From 79ca0925b4eebc2863c9d49ca2fac0ec753fe32b Mon Sep 17 00:00:00 2001 From: nobu Date: Mon, 17 Oct 2016 07:20:39 +0000 Subject: 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 --- win32/configure.bat | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'win32/configure.bat') diff --git a/win32/configure.bat b/win32/configure.bat index 98c8af3d65..dca517e4f4 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 \ -- cgit v1.2.3