Add a knob WITH_BUNDLED_ENGINES to test.sh.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7a6adb8924
commit
35e4d1319b
@ -14,8 +14,14 @@ ${MAKE}
|
|||||||
mkdir -p lib/digest
|
mkdir -p lib/digest
|
||||||
|
|
||||||
for algo in md5 rmd160 sha1 sha2; do
|
for algo in md5 rmd160 sha1 sha2; do
|
||||||
|
args=--with-cflags="${CFLAGS}"
|
||||||
|
|
||||||
|
if [ $WITH_BUNDLED_ENGINES ]; then
|
||||||
|
args="$args --with-bundled-$algo"
|
||||||
|
fi
|
||||||
|
|
||||||
(cd $algo &&
|
(cd $algo &&
|
||||||
${RUBY} extconf.rb --with-cflags="${CFLAGS}";
|
${RUBY} extconf.rb $args;
|
||||||
${MAKE} clean;
|
${MAKE} clean;
|
||||||
${MAKE})
|
${MAKE})
|
||||||
ln -sf ../../$algo/$algo.so lib/digest/
|
ln -sf ../../$algo/$algo.so lib/digest/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user