mirror of
https://github.com/justinethier/cyclone.git
synced 2025-07-14 16:27:35 +02:00
Issue #183 - Support system-level (cyclone) libs
This commit is contained in:
parent
bc07af7109
commit
3b4139ac78
2 changed files with 5 additions and 2 deletions
|
@ -346,7 +346,8 @@
|
|||
(filename
|
||||
(substring filename* 1 (string-length filename*))))
|
||||
(if (or (equal? 'scheme (car import))
|
||||
(equal? 'srfi (car import)))
|
||||
(equal? 'srfi (car import))
|
||||
(equal? 'cyclone (car import)))
|
||||
(string-append (Cyc-installation-dir 'sld) "/" filename) ;; Built-in library
|
||||
filename)))
|
||||
(define (_lib:import->library-name import)
|
||||
|
|
|
@ -242,7 +242,8 @@
|
|||
(filename
|
||||
(substring filename* 1 (string-length filename*)))
|
||||
(dir (if (or (tagged-list? 'scheme import)
|
||||
(tagged-list? 'srfi import))
|
||||
(tagged-list? 'srfi import)
|
||||
(tagged-list? 'cyclone import))
|
||||
(Cyc-installation-dir 'sld)
|
||||
"")))
|
||||
(call/cc
|
||||
|
@ -273,6 +274,7 @@
|
|||
(string-append path "" include))
|
||||
(dir (if (or (tagged-list? 'scheme import)
|
||||
;(tagged-list? 'srfi import)
|
||||
(tagged-list? 'cyclone import)
|
||||
)
|
||||
(Cyc-installation-dir 'sld)
|
||||
"")))
|
||||
|
|
Loading…
Add table
Reference in a new issue