Index: configure
--- configure.orig
+++ configure
@@ -20,6 +20,7 @@ if [ -n "${IAXVER}" ]; then
 fi
 
 cat Makefile.in | sed -e "s/@VERSION@/${IAXMODEMVER}/g" | \
+	sed -e "s,@LDFLAGS@,${LDFLAGS},g" | \
 	sed -e "s/@DSPVER@/${DSPVER}/g" | \
 	sed -e "s/@IAXVER@/${IAXVER}/g" > Makefile
 
