Add Ruby-2.6 detection.

Signed-off-by: gregory guy <gregory-tde@laposte.net>
pull/4/head
François Andriot 5 years ago committed by gregory guy
parent a784c57e46
commit 4804302311
No known key found for this signature in database
GPG Key ID: 3BCCA0F7AB4536F4

@ -15,7 +15,7 @@ else
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
fi
if test -z "$RUBY_VERSION"; then
for RUBY_TEST in 2.5 2.4 2.3 2.2 2.1 2.0 1.9; do
for RUBY_TEST in 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.9; do
RUBY_VERSION=`$PKG_CONFIG ruby-$RUBY_TEST --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then
RUBY_CFLAGS=`$PKG_CONFIG ruby-$RUBY_TEST --cflags`

@ -15,7 +15,7 @@ else
RUBY_CFLAGS=`$PKGCONFIG ruby --cflags`
fi
if test -z "$RUBY_VERSION"; then
for RUBY_TEST in 2.5 2.4 2.3 2.2 2.1 2.0 1.9; do
for RUBY_TEST in 2.6 2.5 2.4 2.3 2.2 2.1 2.0 1.9; do
RUBY_VERSION=`$PKG_CONFIG ruby-$RUBY_TEST --modversion 2>/dev/null`
if test -n "$RUBY_VERSION"; then
RUBY_CFLAGS=`$PKG_CONFIG ruby-$RUBY_TEST --cflags`

Loading…
Cancel
Save