You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-mail/dovecot/files/dovecot-unwind-generic.patch

16 lines
645 B

Bug 728336
--- a/m4/want_unwind.m4
+++ b/m4/want_unwind.m4
@@ -4,9 +4,9 @@
PKG_CHECK_EXISTS([libunwind], [
PKG_CHECK_MODULES([LIBUNWIND], [libunwind],[
dnl see if there is target-specific library
- AC_CHECK_LIB([unwind-${build_cpu}], [_U${build_cpu}_init_local],[
+ PKG_CHECK_MODULES([LIBUNWIND_GENERIC], [libunwind-generic],[
have_libunwind=yes
- LIBUNWIND_LIBS="$LIBUNWIND_LIBS -lunwind-${build_cpu}"
+ LIBUNWIND_LIBS="$LIBUNWIND_LIBS $LIBUNWIND_GENERIC_LIBS"
AC_DEFINE([HAVE_LIBUNWIND],,[Define this if you have libunwind])
],[
have_libunwind=no