--- configure.orig	2020-12-31 10:02:20.000000000 -0500
+++ configure	2021-10-27 13:44:56.000000000 -0400
@@ -96,6 +96,7 @@
 	"win" )		OS="MinGW/MSYS"
 			GTK=2;;
 	"cflags" )	OPTS=CFLAGS;;
+	"ldflags" )	LDFLAG=LDFLAGS;;
 	"386" )		MARCH='-march=i386';;
 	"486" )		MARCH='-march=i486';;
 	"586" )		MARCH='-march=i586';;
@@ -179,6 +180,7 @@
 nothread ......... Don't use multithreading
 
 cflags ........... Use CFLAGS environment variable
+ldflags .......... Use LDFLAGS environment variable
 --cpu= ........... Target a specific CPU, e.g. athlon-xp, x86-64
 686 .............. Target 686 machines
 586 .............. Target 586 machines
