diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-17 07:20:39 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-10-17 07:20:39 +0000 |
commit | 6963067bbd23bbe3090961c7f871746b7d9821c3 (patch) | |
tree | 7e6a564f9fd8dba47f3c8eeb2ff5c0b7e54e6c84 | |
parent | a76ac2578d3bdbc126871da40e6e91f3a27d29a5 (diff) | |
download | ruby-6963067bbd23bbe3090961c7f871746b7d9821c3.tar.gz |
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
-rw-r--r-- | ChangeLog | 5 | ||||
-rwxr-xr-x | win32/configure.bat | 12 |
2 files changed, 16 insertions, 1 deletions
@@ -1,4 +1,7 @@ -Mon Oct 17 16:17:05 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> +Mon Oct 17 16:20:37 2016 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * win32/configure.bat: add option to enable/disable to install + static ruby library. defaulted to "no". [Feature #12845] * configure.in (install-static-library): add option to enable/ disable to install static ruby library. defaulted to "no" if 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 \
|