You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
mxe/src/dlfcn-win32-1-configure-fix...

36 lines
1.1 KiB

This file is part of MXE.
See index.html for further information.
From: Timothy Gu <timothygu99@gmail.com>
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 <timothygu99@gmail.com>
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}"