1
Fork 0
mirror of https://git.savannah.gnu.org/git/guile.git synced 2025-05-20 03:30:27 +02:00

foreign-library: fix darwin detection

* module/system/foreign-library.scm (system-library-extensions): fix
darwin host detection. darwin host types have "-darwin" but not
"-darwin-".
This commit is contained in:
Aleix Conchillo Flaqué 2021-09-02 08:59:57 +02:00 committed by Daniel Llorens
parent 9a62f7caca
commit 1f100a4f20

View file

@ -48,7 +48,7 @@
(define system-library-extensions
(cond
((string-contains %host-type "-darwin-")
((string-contains %host-type "-darwin")
'(".bundle" ".so" ".dylib"))
((or (string-contains %host-type "cygwin")
(string-contains %host-type "mingw")