diff options
author | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-12 09:31:34 +0000 |
---|---|---|
committer | kou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2011-05-12 09:31:34 +0000 |
commit | 4902517f9900c258ef74db55521edde1cb8d8684 (patch) | |
tree | 3dd5d26679dd931be8d175561e44a4b74fe6cb04 /configure.in | |
parent | dd4dca8f064205412d4e3bbddaef46b93771357f (diff) | |
download | ruby-4902517f9900c258ef74db55521edde1cb8d8684.tar.gz |
* 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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@31531 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'configure.in')
-rw-r--r-- | configure.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.in b/configure.in index 674ea60da4..83962615e7 100644 --- a/configure.in +++ b/configure.in @@ -2396,7 +2396,7 @@ fi 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 |