1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2016-10-17 07:20:39 +00:00
parent aacbca8866
commit 79ca0925b4
2 changed files with 16 additions and 1 deletions

View file

@ -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

View file

@ -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 \