new file mode 100644
@@ -0,0 +1,19 @@
+diff -urN a/configure.ac b/configure.ac
+--- a/configure.ac 2013-03-17 23:36:15.000000000 +0100
++++ b/configure.ac 2014-07-29 22:50:54.650396361 +0200
+@@ -124,15 +124,6 @@
+ ;;
+ i?86-win32* | i?86-*-cygwin* | i?86-*-mingw* | i?86-*-os2* | i?86-*-interix*)
+ TARGET=X86_WIN32; TARGETDIR=x86
+- # All mingw/cygwin/win32 builds require -no-undefined for sharedlib.
+- # We must also check with_cross_host to decide if this is a native
+- # or cross-build and select where to install dlls appropriately.
+- if test -n "$with_cross_host" &&
+- test x"$with_cross_host" != x"no"; then
+- AM_LTLDFLAGS='-no-undefined -bindir "$(toolexeclibdir)"';
+- else
+- AM_LTLDFLAGS='-no-undefined -bindir "$(bindir)"';
+- fi
+ ;;
+ i?86-*-darwin*)
+ TARGET=X86_DARWIN; TARGETDIR=x86
@@ -10,6 +10,7 @@ language. The libffi library really only provides the lowest, machine
dependent layer of a fully featured foreign function interface. A
layer must exist above libffi that handles type conversions for values
passed between the two languages."""
+LICENSE = "MIT"
RECIPE_TYPES = "machine native sdk"
@@ -5,5 +5,6 @@ LICENSE = "MIT"
SRC_URI += "file://ax_enable_builddir.patch"
SRC_URI += "file://configure-no-multiosdir.patch"
+SRC_URI += "file://mingw.patch"
LIBRARY_VERSION = "6"