mirror of
https://github.com/justinethier/cyclone.git
synced 2025-05-23 20:15:05 +02:00
Read c-linker-options
This commit is contained in:
parent
4901bf4832
commit
228f606b2e
1 changed files with 4 additions and 0 deletions
|
@ -704,6 +704,8 @@
|
|||
(not (null? (car program:imports/code))))
|
||||
(lib:get-all-import-deps (car program:imports/code) append-dirs prepend-dirs)
|
||||
'()))
|
||||
(c-linker-options
|
||||
(lib:get-all-c-linker-options lib-deps append-dirs prepend-dirs))
|
||||
(exec-file (basename in-file))
|
||||
(src-file (string-append exec-file ".c"))
|
||||
(meta-file (string-append exec-file ".meta"))
|
||||
|
@ -757,6 +759,8 @@
|
|||
"~exec-file~" exec-file)
|
||||
" "
|
||||
cc-prog-linker-opts
|
||||
" "
|
||||
c-linker-options
|
||||
)))
|
||||
;(write `(DEBUG all imports ,lib-deps objs ,objs-str))
|
||||
;(write `(DEBUG ,(lib:get-all-import-deps (cdar in-prog))))
|
||||
|
|
Loading…
Add table
Reference in a new issue