mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-05-19 13:49:17 +02:00
Add a crutch to better detect snow binary extension dir.
This commit is contained in:
parent
dea22a424b
commit
ac5c10c114
1 changed files with 3 additions and 1 deletions
|
@ -1383,7 +1383,9 @@
|
||||||
(chibi (eval '(current-module-path) (environment '(chibi))))
|
(chibi (eval '(current-module-path) (environment '(chibi))))
|
||||||
(else (process->sexp
|
(else (process->sexp
|
||||||
'(chibi-scheme -q -p "(current-module-path)"))))))
|
'(chibi-scheme -q -p "(current-module-path)"))))))
|
||||||
(lib-dir (find (lambda (d) (string-contains d "/lib")) dirs)))
|
(lib-dir (find (lambda (d) (and (equal? (string-ref d 0) #\/)
|
||||||
|
(string-contains d "/lib")))
|
||||||
|
dirs)))
|
||||||
(if lib-dir
|
(if lib-dir
|
||||||
(cons lib-dir (delete lib-dir dirs))
|
(cons lib-dir (delete lib-dir dirs))
|
||||||
dirs)))
|
dirs)))
|
||||||
|
|
Loading…
Add table
Reference in a new issue