summaryrefslogtreecommitdiff
path: root/cross.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-24 13:04:28 +0100
committerNikos Mavrogiannopoulos <nmav@redhat.com>2015-11-24 13:15:43 +0100
commit4271cea63db743b79afb0155e02c9cd898438eb7 (patch)
tree59bfa7dbded9c03d031578001efdd249a2ccc6d7 /cross.mk
parent5f901f7b27f8aab512b92384947e9b8308c6accc (diff)
downloadgnutls-4271cea63db743b79afb0155e02c9cd898438eb7.tar.gz
cross.mk: updated windows cross compile makefile
Diffstat (limited to 'cross.mk')
-rw-r--r--cross.mk10
1 files changed, 5 insertions, 5 deletions
diff --git a/cross.mk b/cross.mk
index 052919f51d..a091acba7d 100644
--- a/cross.mk
+++ b/cross.mk
@@ -1,6 +1,6 @@
SMP=-j4
-GNUTLS_VERSION:=3.4.2
+GNUTLS_VERSION:=3.4.7
GNUTLS_FILE:=gnutls-$(GNUTLS_VERSION).tar.xz
GNUTLS_DIR:=gnutls-$(GNUTLS_VERSION)
@@ -135,13 +135,13 @@ $(NETTLE_DIR)/.installed: $(NETTLE_DIR)/.configured
cp $(NETTLE_DIR)/libnettle*.dll $(NETTLE_DIR)/libhogweed*.dll $(BIN_DIR)/
touch $@
-GCC_DLLS=/usr/lib/gcc/i686-w64-mingw32/4.9-win32/libgcc_s_sjlj-1.dll
+GCC_DLLS_PATH=/usr/i686-w64-mingw32/sys-root/mingw/bin/
+GCC_DLLS=libgcc_s_sjlj-1.dll libwinpthread-1.dll
$(GNUTLS_DIR)/.installed: $(GNUTLS_DIR)/.configured
make -C $(GNUTLS_DIR) $(SMP)
- -cp $(GCC_DLLS) $(GNUTLS_DIR)/tests
- -cp $(GCC_DLLS) $(GNUTLS_DIR)/tests/safe-renegotiation
- -cp $(GCC_DLLS) $(GNUTLS_DIR)/tests/slow
+ -for j in $(GNUTLS_DIR)/tests $(GNUTLS_DIR)/tests/safe-renegotiation $(GNUTLS_DIR)/tests/slow;do \
+ for i in $(GCC_DLLS);do cp $(GCC_DLLS_PATH)/$$i $$j;done;done
sed -i 's/^"$$@" >$$log_file/echo $$@|grep exe >\/dev\/null; if [ $$? == 0 ];then wine "$$@" >$$log_file;else \/bin\/true >$$log_file;fi/g' $(GNUTLS_DIR)/build-aux/test-driver
make -C $(GNUTLS_DIR)/tests check $(SMP)
make -C $(GNUTLS_DIR) install -i