--- configure.orig	2021-02-01 10:20:41 +0000
+++ configure	2021-02-01 10:25:24 +0000
@@ -25815,7 +25815,7 @@
 	LIBS_orig="$LIBS"
 	LDFLAGS_orig="$LDFLAGS"
 	LIBS="$G_MODULE_LIBS $LIBS"
-	LDFLAGS="$LDFLAGS $G_MODULE_LDFLAGS"
+	LDFLAGS="$LDFLAGS" 
 	echo "void glib_plugin_test(void) { }" > plugin.c
 	${SHELL} ./libtool --mode=compile --tag=CC ${CC} ${CFLAGS} \
 		${CPPFLAGS} -c -o plugin.lo plugin.c >/dev/null 2>&1
--- configure.orig	2021-02-02 03:44:30 +0000
+++ configure	2021-02-02 03:45:21 +0000
@@ -14063,7 +14063,7 @@
 	fi
       fi
 
-      export_dynamic_flag_spec='$wl-bexpall'
+      export_dynamic_flag_spec=
       # It seems that -bexpall does not export symbols beginning with
       # underscore (_), so it is better to generate a list of symbols to export.
       always_export_symbols=yes
@@ -17165,7 +17165,7 @@
           fi
         fi
 
-        export_dynamic_flag_spec_CXX='$wl-bexpall'
+        export_dynamic_flag_spec_CXX=
         # It seems that -bexpall does not export symbols beginning with
         # underscore (_), so it is better to generate a list of symbols to
 	# export.
