From 5a5c598e16ef5e7541430ae8890ae52fa7493483 Mon Sep 17 00:00:00 2001 From: ellson Date: Tue, 22 May 2007 07:58:02 +0000 Subject: [PATCH] automatic test for ruby shared library name - from Debian maintainer cyril.brulebois@enst-bretagne.fr --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 0c9036c7c..2610d78fb 100644 --- a/configure.ac +++ b/configure.ac @@ -850,7 +850,7 @@ else AC_CHECK_PROG(RUBY,ruby,ruby) if test "x$RUBY" != "x"; then RUBY_INCLUDES="-I`$RUBY $srcdir/config/config_ruby.rb INCLUDES`" - RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` -lruby" + RUBY_LIBS="-L`$RUBY $srcdir/config/config_ruby.rb lib` `$RUBY -rrbconfig -e \"puts Config::CONFIG[['LIBRUBYARG_SHARED']]\"`" save_CPPFLAGS=$CPPFLAGS CPPFLAGS="$CPPFLAGS $RUBY_INCLUDES" AC_CHECK_HEADER(ruby.h,,[ -- 2.40.0