aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/libetpan/files/honor-oe-lflags.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/libetpan/files/honor-oe-lflags.patch')
-rw-r--r--recipes/libetpan/files/honor-oe-lflags.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/recipes/libetpan/files/honor-oe-lflags.patch b/recipes/libetpan/files/honor-oe-lflags.patch
new file mode 100644
index 0000000000..15a1535bfa
--- /dev/null
+++ b/recipes/libetpan/files/honor-oe-lflags.patch
@@ -0,0 +1,16 @@
+
+#
+# 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