summaryrefslogtreecommitdiff
path: root/guile/modules/gnutls.in
diff options
context:
space:
mode:
Diffstat (limited to 'guile/modules/gnutls.in')
-rw-r--r--guile/modules/gnutls.in5
1 files changed, 3 insertions, 2 deletions
diff --git a/guile/modules/gnutls.in b/guile/modules/gnutls.in
index 7cd08f18f1..2c84d4c3e5 100644
--- a/guile/modules/gnutls.in
+++ b/guile/modules/gnutls.in
@@ -521,8 +521,9 @@
(or (getenv "GNUTLS_GUILE_EXTENSION_DIR")
"@guileextensiondir@"))
- (load-extension (string-append %libdir "/guile-gnutls-v-2")
- "scm_init_gnutls"))
+ (unless (getenv "GNUTLS_GUILE_CROSS_COMPILING")
+ (load-extension (string-append %libdir "/guile-gnutls-v-2")
+ "scm_init_gnutls")))
(cond-expand
((not guile-2)