
#
# Signed off by Michael 'Mickey' Lauer <mickey@Vanille.de>
#

--- libetpan-0.46/configure.in~honor-oe-lflags
+++ libetpan-0.46/configure.in
@@ -361,7 +361,7 @@
       LDFLAGS="-$flag $LDFLAGS"
       AC_TRY_LINK([], [pthread_create();], 
                       [pthflag=yes; checkpthread=no], 
-                      [pthflag=no; LDFLAGS="$OLDCFLAGS"])
+                      [pthflag=no; LDFLAGS="$OLDFLAGS"])
       AC_MSG_RESULT($pthflag)
     fi
   done
