This file is part of MXE.
See index.html for further information.
From: Timothy Gu
Subject: [PATCH 1/2] configure: make script return 0 if successfully executed
diff -Naur dlfcn-win32-r19.orig/configure dlfcn-win32-r19/configure
--- dlfcn-win32-r19.orig/configure 2009-01-11 13:31:27.000000000 -0800
+++ dlfcn-win32-r19/configure 2013-11-23 20:13:14.429342371 -0800
@@ -186,7 +186,7 @@
echo "strip: $strip"
echo "static: $static"
echo "shared: $shared"
-enabled shared && {
+if (enabled shared); then
echo "msvc: $msvc";
echo "strip: $stripping";
-}
+fi
From: Timothy Gu
Subject: [PATCH 2/2] configure: update $libdir and $incdir after parsing opts
diff -Naur dlfcn-win32-r19.orig/configure dlfcn-win32-r19/configure
--- dlfcn-win32-r19.orig/configure 2009-01-11 13:31:27.000000000 -0800
+++ dlfcn-win32-r19/configure 2013-11-23 20:15:43.777338541 -0800
@@ -111,6 +111,8 @@
esac
done
+libdir="${PREFIX}/lib"
+incdir="${PREFIX}/include"
ar="${cross_prefix}${ar}"
cc_default="${cross_prefix}${cc_default}"
ranlib="${cross_prefix}${ranlib}"