Skip to content

Commit

Permalink
Enable installing static library for MRI 2.4 and 2.5
Browse files Browse the repository at this point in the history
 - Install both static and dynamic libraries for MRI 2.4 and 2.5
  • Loading branch information
d-unsed committed Dec 11, 2017
1 parent a88b7e9 commit ebd0597
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,14 @@ ruby-*)
if [[ $RUBY = *head* ]]; then
EXTRA_FLAGS="--rubygems ignore"
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
announce rvm install $RUBY --verify-downloads 1;;
Expand Down Expand Up @@ -268,4 +275,3 @@ else
echo "This is a Pull Request, skipping."
fi
fold_end check.3

0 comments on commit ebd0597

Please sign in to comment.