--- configure
+++ configure
@@ -10568,7 +10568,7 @@
 	if test "$enableval" = "yes"; then
 		STATIC_CFLAGS="-DSTATIC"
 
-		STATIC_LDFLAGS="-Wl,-Bstatic"
+		STATIC_LDFLAGS="-static-libgcc -Wl,-Bstatic"
 
                 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
 $as_echo "yes" >&6; }
