ruby-changes:44363
From: nobu <ko1@a...>
Date: Mon, 17 Oct 2016 16:20:45 +0900 (JST)
Subject: [ruby-changes:44363] nobu:r56436 (trunk): install-static-library option [ci skip]
nobu 2016-10-17 16:20:39 +0900 (Mon, 17 Oct 2016) New Revision: 56436 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56436 Log: install-static-library option [ci skip] * win32/configure.bat: add option to enable/disable to install static ruby library. defaulted to "no". [Feature #12845] Modified files: trunk/ChangeLog trunk/win32/configure.bat Index: win32/configure.bat =================================================================== --- win32/configure.bat (revision 56435) +++ win32/configure.bat (revision 56436) @@ -30,6 +30,8 @@ if "%1" == "--install-name" goto :instal https://github.com/ruby/ruby/blob/trunk/win32/configure.bat#L30 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 ; https://github.com/ruby/ruby/blob/trunk/win32/configure.bat#L119 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 \ Index: ChangeLog =================================================================== --- ChangeLog (revision 56435) +++ ChangeLog (revision 56436) @@ -1,4 +1,7 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 -Mon Oct 17 16:17:05 2016 Nobuyoshi Nakada <nobu@r...> +Mon Oct 17 16:20:37 2016 Nobuyoshi Nakada <nobu@r...> + + * 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/