зеркало из https://github.com/mozilla/gecko-dev.git
Fix for bug 16163. Usage of -liberty to demangle symbols breaks on loser
linux distributions. I changed configure.in to detect this lib before using it. You can stop whinning now thank you. r=syd@netscape.com.
This commit is contained in:
Родитель
87ac65a007
Коммит
3707368b40
12
configure.in
12
configure.in
|
@ -2615,10 +2615,15 @@ dnl =
|
|||
dnl = Support for demangling undefined symbols
|
||||
dnl =
|
||||
dnl ========================================================
|
||||
AC_CHECK_LIB(iberty, cplus_demangle, [HAVE_DEMANGLE=1],
|
||||
HAVE_DEMANGLE=, "-liberty")
|
||||
|
||||
MOZ_DEMANGLE_SYMBOLS=
|
||||
|
||||
case "$target" in
|
||||
*-linux*)
|
||||
if test "$HAVE_DEMANGLE"
|
||||
then
|
||||
case "$target" in
|
||||
*-linux*)
|
||||
# Demangle only for debug builds
|
||||
if test "$MOZ_DEBUG"
|
||||
then
|
||||
|
@ -2626,7 +2631,8 @@ case "$target" in
|
|||
AC_DEFINE(MOZ_DEMANGLE_SYMBOLS)
|
||||
fi
|
||||
;;
|
||||
esac
|
||||
esac
|
||||
fi
|
||||
|
||||
AC_SUBST(MOZ_DEMANGLE_SYMBOLS)
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче