mirror of
https://github.com/ashinn/chibi-scheme.git
synced 2025-07-04 03:36:36 +02:00
If C file already exists do not run chibi-ffi
This commit is contained in:
parent
bf5f127821
commit
3142fc2fdc
1 changed files with 2 additions and 1 deletions
|
@ -2057,7 +2057,8 @@
|
||||||
,@(if local-test? '("-Iinclude" "-L.") '())
|
,@(if local-test? '("-Iinclude" "-L.") '())
|
||||||
"-o" ,so-file ,c-file "-lchibi-scheme"
|
"-o" ,so-file ,c-file "-lchibi-scheme"
|
||||||
,@lib-flags)))
|
,@lib-flags)))
|
||||||
(when (or (and (file-exists? stub-file)
|
(when (or (and (not (file-exists? c-file))
|
||||||
|
(file-exists? stub-file)
|
||||||
(or (system? ffi-cmd)
|
(or (system? ffi-cmd)
|
||||||
(yes-or-no? cfg "couldn't compile stub: "
|
(yes-or-no? cfg "couldn't compile stub: "
|
||||||
stub-file " - install anyway?")))
|
stub-file " - install anyway?")))
|
||||||
|
|
Loading…
Add table
Reference in a new issue