AC_MSG_ERROR(Ruby site extension path not found)
fi
+ AC_MSG_CHECKING(for Ruby shared library)
+ RUBYLIB=`($rubybin -rmkmf -e 'print Config::CONFIG[["LIBRUBYARG_SHARED"]]') 2> /dev/null`
+ AC_MSG_RESULT([$RUBYLIB])
+
+ AC_SUBST(RUBYLIB)
AC_SUBST(RUBYLIBDIR)
AC_SUBST(RUBYDIR)
AC_SUBST(RUBYSITEDIR)
-## $Id: Makefile.am 74 2004-08-16 18:12:23Z tilman $
+## $Id: Makefile.am 119 2004-10-18 20:17:53Z tilman $
AM_CFLAGS = $(EVAS_CFLAGS) $(EDJE_CFLAGS)
INCLUDES = -I$(RUBYDIR) -I$(RUBYSITEDIR)
rb_edje.c rb_edje.h \
rb_part.c rb_part.h
-edje_la_LIBADD = -L$(RUBYLIBDIR) -lruby $(EVAS_LIBS) $(EDJE_LIBS)
+edje_la_LIBADD = -L$(RUBYLIBDIR) $(RUBYLIB) $(EVAS_LIBS) $(EDJE_LIBS)
edje_la_LDFLAGS = -module -avoid-version