The Gtk branch has no umodules and no lib/ subdirectory to distinguish
the standard library directory. Use the last directory in the library
directory path.
(define (standard-library-directory-pathname)
(let ((d (system-library-directory-pathname "lib")))
- (pathname-new-directory d (except-last-pair (pathname-directory d)))))
+ (if d
+ (pathname-new-directory d (except-last-pair (pathname-directory d)))
+ (last library-directory-path))))
(define (pathname->standard-uri pathname)
(let ((uri
system-library-pathname
uri->pathname
user-homedir-pathname)
+ (export (runtime load)
+ library-directory-path)
(initialization (initialize-package!)))
(define-package (runtime pathname unix)