[PATCH] foreign-library: fix darwin detection

2021-09-01 Thread Aleix Conchillo Flaqué
* 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/sys

Re: [PATCH] foreign-library: fix darwin detection

2021-09-01 Thread Aleix Conchillo Flaqué
Without this change dynamic libraries in macOS are not loaded properly. This has happened since 3.0.6. scheme@(guile-user)> %host-type $1 = "x86_64-apple-darwin20.5.0" scheme@(guile-user)> (use-modules (git)) While compiling expression: In procedure git_libgit2_i

Re: [PATCH] foreign-library: fix darwin detection

2021-09-01 Thread Aleix Conchillo Flaqué
And there are also more errors, for example in guile-gcrypt: dyld: lazy symbol binding failed: Symbol not found: __gcry_check_version Referenced from: /usr/local/lib/libgcrypt.dylib Expected in: flat namespace dyld: Symbol not found: __gcry_check_version Referenced from: /usr/local/lib/libg