This is an automated email from the git hooks/post-receive script.
lloda pushed a commit to branch main
in repository guile.
The following commit(s) were added to refs/heads/main by this push:
new 1f100a4 foreign-library: fix darwin detection
1f100a4 is described below
commit 1f100a4f20c3a6e57922fb26fce212997e2a03cb
Author: Aleix Conchillo FlaquƩ <[email protected]>
AuthorDate: Thu Sep 2 08:59:57 2021 +0200
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-".
---
module/system/foreign-library.scm | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/module/system/foreign-library.scm
b/module/system/foreign-library.scm
index d53e293..dc42638 100644
--- a/module/system/foreign-library.scm
+++ b/module/system/foreign-library.scm
@@ -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")