mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-04-29 19:30:36 +02:00
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
This commit is contained in:
parent
0d80eb23e2
commit
93b8ab2994
2 changed files with 5 additions and 0 deletions
|
@ -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))))
|
||||
|
||||
|
|
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue