| commit | cdd17b88c22f8dd50fef823a9cfff2098a43a79d | [log] [tgz] |
|---|---|---|
| author | Petr Machata <pmachata@redhat.com> | Fri Jun 01 19:35:24 2012 +0200 |
| committer | Petr Machata <pmachata@redhat.com> | Fri Jun 01 19:35:24 2012 +0200 |
| tree | 57027de7cf4839addcf2598af2285b868761243c | |
| parent | c1d75953c55bff66f530518ee492bd53a6186c64 [diff] [blame] |
We should look for demangle in libstdc++ as well
diff --git a/common.h b/common.h index 7fffa76..b84a5d1 100644 --- a/common.h +++ b/common.h
@@ -16,7 +16,10 @@ #include "read_config_file.h" #include "proc.h" -#if defined HAVE_LIBIBERTY || defined HAVE_LIBSUPC__ +#if defined HAVE_LIBSUPC__ || defined HAVE_LIBSTDC__ +# define USE_CXA_DEMANGLE +#endif +#if defined HAVE_LIBIBERTY || defined USE_CXA_DEMANGLE # define USE_DEMANGLE #endif