mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +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 -L ,lib-path ,file)
|
||||||
`(guile -L ,install-dir ,file)))
|
`(guile -L ,install-dir ,file)))
|
||||||
((kawa)
|
((kawa)
|
||||||
(if lib-path
|
(let ((install-dir (path-resolve install-dir (current-directory))))
|
||||||
`(kawa
|
(if lib-path
|
||||||
,(string-append "-Dkawa.import.path=" install-dir ":" lib-path)
|
`(kawa
|
||||||
--r7rs --script ,file)
|
,(string-append "-Dkawa.import.path=" install-dir ":"
|
||||||
`(kawa ,(string-append "-Dkawa.import.path=" install-dir)
|
(path-resolve lib-path (current-directory)))
|
||||||
--r7rs --script ,file)))
|
--r7rs --script ,file)
|
||||||
|
`(kawa ,(string-append "-Dkawa.import.path=" install-dir)
|
||||||
|
--r7rs --script ,file))))
|
||||||
((larceny)
|
((larceny)
|
||||||
(if lib-path
|
(if lib-path
|
||||||
`(larceny -r7rs -path ,(string-append install-dir ":" lib-path)
|
`(larceny -r7rs -path ,(string-append install-dir ":" lib-path)
|
||||||
|
|
Loading…
Add table
Reference in a new issue