Skip to content

Commit

Permalink
Merge pull request #43 from d-unseductable/ruby_2_4_static_lib
Browse files Browse the repository at this point in the history
Enable installing static library for MRI 2.4 and 2.5
  • Loading branch information
BanzaiMan committed Nov 1, 2018
2 parents e8a52ac + b2b6922 commit 6ad6573
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,12 @@ ruby-*)
if [[ $RUBY = *head* ]]; then
EXTRA_FLAGS="--rubygems 2.7.7 --force"
fi
announce rvm install $RUBY $EXTRA_FLAGS --verify-downloads 1 $MOVABLE_FLAG --disable-install-doc -C --without-tcl,--without-tk,--without-gmp
CONFIGURE_OPTS=( --without-tcl --without-tk --without-gmp )
case $RUBY in
ruby-2.4*|ruby-2.5*)
CONFIGURE_OPTS+=( --enable-install-static-library );;
esac
announce rvm install $RUBY $EXTRA_FLAGS --verify-downloads 1 $MOVABLE_FLAG --disable-install-doc -- ${CONFIGURE_OPTS[@]}
;;
jruby-head)
update_mvn 3.3.9
Expand Down

0 comments on commit 6ad6573

Please sign in to comment.