ruby-changes:19491
From: kou <ko1@a...>
Date: Thu, 12 May 2011 18:31:45 +0900 (JST)
Subject: [ruby-changes:19491] Ruby:r31531 (trunk): * configure.in: limit to "T" type for prefix of external symbols
kou 2011-05-12 18:31:34 +0900 (Thu, 12 May 2011) New Revision: 31531 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=31531 Log: * configure.in: limit to "T" type for prefix of external symbols because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the following symbol: 0000000068483390 D _GLOBAL__F__conftest_external Approved by nobu. Modified files: trunk/ChangeLog trunk/configure.in Index: configure.in =================================================================== --- configure.in (revision 31530) +++ configure.in (revision 31531) @@ -2396,7 +2396,7 @@ AC_CACHE_CHECK([for prefix of external symbols], rb_cv_symbol_prefix, [ AC_TRY_COMPILE([extern void conftest_external(void) {}], [], [ rb_cv_symbol_prefix=`$NM conftest.$ac_objext | - sed -n ['/.*[ ]\([^ ]*\)conftest_external.*/!d;s//\1/p;q']` + sed -n ['/.*T[ ]\([^ ]*\)conftest_external.*/!d;s//\1/p;q']` ], [rb_cv_symbol_prefix='']) test -n "$rb_cv_symbol_prefix" || rb_cv_symbol_prefix=NONE Index: ChangeLog =================================================================== --- ChangeLog (revision 31530) +++ ChangeLog (revision 31531) @@ -1,3 +1,12 @@ +Thu May 12 18:24:34 2011 Kouhei Sutou <kou@c...> + + * configure.in: limit to "T" type for prefix of external symbols + because x86_64-w64-mingw32-gcc on Debian GNU/Linux generates the + following symbol: + 0000000068483390 D _GLOBAL__F__conftest_external + + Approved by nobu. + Thu May 12 14:50:52 2011 NAKAMURA Usaku <usa@r...> * test/dl/test_base.rb (Fiddle::LIBC_SO): its always msvc*.dll on -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/