Hi,

I did not succeed to restore to reliable state my old mingw build environments. Instead I setup a new for cross compilation. It is based on centos 7 with mingw 4.0 , gcc version 4.9.3 20150626 (Fedora MinGW 4.9.3-1.el7) , ltdl build my self from source, wine-1.8.6 for tests and configuration "./configure --enable-pkgconfig --host=x86_64-w64-mingw32".


Only 0001-revert-preset-configuration-for-mingw.patch is enough to build and run the tests.

Regards,
Roumen Petrov

>From 9733d2456c855ddb5f46a632639b53f01ba9a807 Mon Sep 17 00:00:00 2001
From: Roumen Petrov <[email protected]>
Date: Sun, 28 May 2017 14:01:00 +0300
Subject: [PATCH] revert preset configuration for mingw*

---
 configure.ac | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/configure.ac b/configure.ac
index 973a802..acdc22b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -153,13 +153,6 @@ case "${host}" in
 	XMLSEC_EXTRA_LDFLAGS="-no-undefined -avoid-version"
 	XMLSEC_CRYPTO_EXTRA_LDFLAGS="-no-undefined -avoid-version"
 	XMLSEC_SHLIBSFX=".dll.a"
-        # To avoid problem with loading of a shared library (dlopen or
-        # equivalent) at run time on some platforms we need to link
-        # everything statically (it works without hack on 9x and under
-        # emulation; on nt 5.x (w2k,xp) the error is 998: "Invalid
-        # access to memory location").
-        enable_static_linking="yes"
-        enable_crypto_dl="no"
 	;;
  *-*-cygwin*)
 	XMLSEC_EXTRA_LDFLAGS="-no-undefined"
-- 
1.8.3.1


_______________________________________________
xmlsec mailing list
[email protected]
http://www.aleksey.com/mailman/listinfo/xmlsec

Reply via email to