[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Guile-commits] 05/13: for dynamic-link tests, mingw needs to link to ms
From: |
Mike Gran |
Subject: |
[Guile-commits] 05/13: for dynamic-link tests, mingw needs to link to msvcrt |
Date: |
Thu, 21 Jan 2021 19:06:15 -0500 (EST) |
mike121 pushed a commit to branch master
in repository guile.
commit 93b8ab29947ef1f2391744cf6e9c2131acbfa020
Author: Michael Gran <spk121@yahoo.com>
AuthorDate: Mon Nov 23 19:20:54 2020 -0800
for dynamic-link tests, mingw needs to link to msvcrt
* test-suite/standalone/test-ffi: link msvcrt for mingw
* test-suite/standalone/test-foreign-object-scm: link msvcrt for mingw
---
test-suite/standalone/test-ffi | 3 +++
test-suite/standalone/test-foreign-object-scm | 2 ++
2 files changed, 5 insertions(+)
diff --git a/test-suite/standalone/test-ffi b/test-suite/standalone/test-ffi
index 0e6ab45..113a102 100755
--- a/test-suite/standalone/test-ffi
+++ b/test-suite/standalone/test-ffi
@@ -269,6 +269,9 @@ exec guile -q -s "$0" "$@"
;; into linked DLLs. Thus one needs to link to the core
;; C library DLL explicitly.
(dynamic-link "cygwin1"))
+ ((string-contains %host-type "mingw")
+ ;; Also, no recursive search into linked DLLs in MinGW.
+ (dynamic-link "msvcrt"))
(else
(dynamic-link))))
diff --git a/test-suite/standalone/test-foreign-object-scm
b/test-suite/standalone/test-foreign-object-scm
index fd4669a..be3441c 100755
--- a/test-suite/standalone/test-foreign-object-scm
+++ b/test-suite/standalone/test-foreign-object-scm
@@ -35,6 +35,8 @@ exec guile -q -s "$0" "$@"
;; needs to link to the core C library DLL
;; explicitly.
(dynamic-link "cygwin1"))
+ ((string-contains %host-type "mingw")
+ (dynamic-link "msvcrt"))
(else
(dynamic-link)))))
(lambda (k . args)
- [Guile-commits] branch master updated (1a6eaba -> 91d4d31), Mike Gran, 2021/01/21
- [Guile-commits] 02/13: for socket test, don't presume TMP is usable, Mike Gran, 2021/01/21
- [Guile-commits] 01/13: encoding test tries to delete a file that is not closed, Mike Gran, 2021/01/21
- [Guile-commits] 04/13: in command line encoding test don't presume extant UTF-8 locale, Mike Gran, 2021/01/21
- [Guile-commits] 03/13: skip compile test when pause not available, Mike Gran, 2021/01/21
- [Guile-commits] 06/13: test-foreign-object-c should link libgnu, Mike Gran, 2021/01/21
- [Guile-commits] 05/13: for dynamic-link tests, mingw needs to link to msvcrt,
Mike Gran <=
- [Guile-commits] 07/13: missing includes for list.h, Mike Gran, 2021/01/21
- [Guile-commits] 08/13: Need Guile and Windows types for the declarations posix-w32, Mike Gran, 2021/01/21
- [Guile-commits] 09/13: in null threads, don't define sigmask stub when pthread_sigmask does not exist, Mike Gran, 2021/01/21
- [Guile-commits] 11/13: standalone tests require libgnu on DLL-based platforms, Mike Gran, 2021/01/21
- [Guile-commits] 12/13: avoid a ports test when fcntl is not provided, Mike Gran, 2021/01/21
- [Guile-commits] 10/13: skip version test if git-version-gen can't compute version from git, Mike Gran, 2021/01/21
- [Guile-commits] 13/13: socket test should not throw unresolved outside of a test, Mike Gran, 2021/01/21