mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 05:39:18 +02:00
Using absolute import paths for kawa, since relative paths break on chained dependencies.
This commit is contained in:
parent
9b328359b5
commit
db16fc693c
1 changed files with 8 additions and 6 deletions
|
@ -1167,12 +1167,14 @@
|
|||
`(guile -L ,install-dir -L ,lib-path ,file)
|
||||
`(guile -L ,install-dir ,file)))
|
||||
((kawa)
|
||||
(let ((install-dir (path-resolve install-dir (current-directory))))
|
||||
(if lib-path
|
||||
`(kawa
|
||||
,(string-append "-Dkawa.import.path=" install-dir ":" lib-path)
|
||||
,(string-append "-Dkawa.import.path=" install-dir ":"
|
||||
(path-resolve lib-path (current-directory)))
|
||||
--r7rs --script ,file)
|
||||
`(kawa ,(string-append "-Dkawa.import.path=" install-dir)
|
||||
--r7rs --script ,file)))
|
||||
--r7rs --script ,file))))
|
||||
((larceny)
|
||||
(if lib-path
|
||||
`(larceny -r7rs -path ,(string-append install-dir ":" lib-path)
|
||||
|
|
Loading…
Add table
Reference in a new issue