mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-30 04:48:36 +00:00
configure: Force -static-libgcc when using libunwind.
libunwind defines the same symbols as libgcc_s but may not be compatible. Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=49312 Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
35c880efdf
commit
167f188d71
1
configure
vendored
1
configure
vendored
|
@ -14892,6 +14892,7 @@ $as_echo "$wine_cv_have_unw_step" >&6; }
|
|||
if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
|
||||
then
|
||||
save_libs=$LIBS
|
||||
UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
|
||||
LIBS="$UNWIND_LIBS $LIBS"
|
||||
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
|
||||
$as_echo_n "checking for unw_step in libunwind... " >&6; }
|
||||
|
|
|
@ -1685,6 +1685,8 @@ then
|
|||
if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
|
||||
then
|
||||
save_libs=$LIBS
|
||||
dnl Force static libgcc, libunwind breaks libgcc_s unwinding
|
||||
UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
|
||||
LIBS="$UNWIND_LIBS $LIBS"
|
||||
AC_CACHE_CHECK([for unw_step in libunwind],wine_cv_have_libunwind_unw_step,
|
||||
[AC_LINK_IFELSE([AC_LANG_PROGRAM([[#define UNW_LOCAL_ONLY
|
||||
|
|
Loading…
Reference in a new issue