svnno****@sourc*****
svnno****@sourc*****
Tue Jul 3 18:50:15 JST 2007
Revision: 3226 http://svn.sourceforge.jp/cgi-bin/viewcvs.cgi?root=kazehakase&view=rev&rev=3226 Author: kous Date: 2007-07-03 18:50:15 +0900 (Tue, 03 Jul 2007) Log Message: ----------- * configure.ac: added Config::CONFIG['LIBS'] to linked libraries list. Modified Paths: -------------- kazehakase/trunk/ChangeLog kazehakase/trunk/configure.ac Modified: kazehakase/trunk/ChangeLog =================================================================== --- kazehakase/trunk/ChangeLog 2007-07-03 09:49:10 UTC (rev 3225) +++ kazehakase/trunk/ChangeLog 2007-07-03 09:50:15 UTC (rev 3226) @@ -1,5 +1,8 @@ 2007-07-03 Kouhei Sutou <kou****@cozmi*****> + * configure.ac: added Config::CONFIG['LIBS'] to linked libraries + list. + * data/ext/ruby/kazehakase-init-pre.rb: used Kz.gettext instead of _ because _ isn't defined yet. Modified: kazehakase/trunk/configure.ac =================================================================== --- kazehakase/trunk/configure.ac 2007-07-03 09:49:10 UTC (rev 3225) +++ kazehakase/trunk/configure.ac 2007-07-03 09:50:15 UTC (rev 3226) @@ -388,7 +388,7 @@ rbconfig="$RUBY -rrbconfig -e " changequote(<<, >>) - for var_name in archdir sitearchdir CFLAGS LIBRUBYARG libdir; do + for var_name in archdir sitearchdir CFLAGS LIBRUBYARG LIBS libdir; do rbconfig_tmp=`$rbconfig "print Config::CONFIG['$var_name']"` eval "rbconfig_$var_name=\"$rbconfig_tmp\"" done @@ -397,7 +397,7 @@ RUBY_CFLAGS="$RUBY_CFLAGS -I$rbconfig_archdir " RUBY_CFLAGS="$RUBY_CFLAGS -I$rbconfig_sitearchdir " RUBY_CFLAGS="$RUBY_CFLAGS $rbconfig_CFLAGS " - RUBY_LIBS="$rbconfig_LIBRUBYARG" + RUBY_LIBS="$rbconfig_LIBRUBYARG $rbconfig_LIBS" RUBY_LDFLAGS="-L$rbconfig_libdir" AC_SUBST(RUBY_CFLAGS)