summaryrefslogtreecommitdiff
path: root/module/system/vm/objcode.scm
diff options
context:
space:
mode:
Diffstat (limited to 'module/system/vm/objcode.scm')
-rw-r--r--module/system/vm/objcode.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/module/system/vm/objcode.scm b/module/system/vm/objcode.scm
index 7c0490da6..966f34585 100644
--- a/module/system/vm/objcode.scm
+++ b/module/system/vm/objcode.scm
@@ -1,6 +1,6 @@
;;; Guile VM object code
-;; Copyright (C) 2001 Free Software Foundation, Inc.
+;; Copyright (C) 2001, 2010 Free Software Foundation, Inc.
;;; This library is free software; you can redistribute it and/or
;;; modify it under the terms of the GNU Lesser General Public
@@ -24,4 +24,5 @@
load-objcode write-objcode
word-size byte-order))
-(load-extension "libguile" "scm_init_objcodes")
+(load-extension (string-append "libguile-" (effective-version))
+ "scm_init_objcodes")