mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* configure.in: link addr2line only for ELF.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29948 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
2381984069
commit
3c36edc0d2
4 changed files with 8 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
|||
Sat Nov 27 15:43:27 2010 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* configure.in: link addr2line only for ELF.
|
||||
|
||||
Sat Nov 27 13:58:55 2010 Shugo Maeda <shugo@ruby-lang.org>
|
||||
|
||||
* lib/optparse.rb (OptionParser#candidate): : was missing. Thanks,
|
||||
|
|
|
@ -543,4 +543,6 @@ rb_dump_backtrace_with_lines(int num_traces, void **trace, char **syms)
|
|||
free(lines);
|
||||
}
|
||||
|
||||
#endif /* defined(__ELF__) */
|
||||
#else /* defined(__ELF__) */
|
||||
#error not supported
|
||||
#endif
|
||||
|
|
|
@ -91,7 +91,6 @@ COMMONOBJS = array.$(OBJEXT) \
|
|||
vm_dump.$(OBJEXT) \
|
||||
thread.$(OBJEXT) \
|
||||
cont.$(OBJEXT) \
|
||||
addr2line.$(OBJEXT) \
|
||||
$(BUILTIN_ENCOBJS) \
|
||||
$(BUILTIN_TRANSOBJS) \
|
||||
$(MISSING)
|
||||
|
|
|
@ -1844,6 +1844,7 @@ if test "$rb_cv_binary_elf" = yes; then
|
|||
if test "$with_dln_a_out" = yes; then
|
||||
AC_MSG_ERROR(dln_a_out does not work with ELF)
|
||||
fi
|
||||
AC_LIBOBJ([addr2line])
|
||||
fi
|
||||
|
||||
AS_CASE(["$target_os"],
|
||||
|
|
Loading…
Reference in a new issue