mirror of
https://gitlab.com/embeddable-common-lisp/ecl.git
synced 2026-01-21 12:03:40 -08:00
builder: wrapper: don't output unnecessary code when non needed
This commit is contained in:
parent
5a50195666
commit
b15afe097c
1 changed files with 4 additions and 2 deletions
|
|
@ -534,7 +534,8 @@ output = si_safe_eval(2, ecl_read_from_cstring(lisp_code), ECL_NIL);
|
|||
(:static-library
|
||||
(format c-file +lisp-program-init+
|
||||
init-name init-tag prologue-code submodules epilogue-code)
|
||||
(format c-file +lisp-init-wrapper+ wrap-name init-name)
|
||||
(when wrap-name
|
||||
(format c-file +lisp-init-wrapper+ wrap-name init-name))
|
||||
(format c-file +lisp-library-main+
|
||||
main-name prologue-code init-name epilogue-code)
|
||||
(close c-file)
|
||||
|
|
@ -545,7 +546,8 @@ output = si_safe_eval(2, ecl_read_from_cstring(lisp_code), ECL_NIL);
|
|||
(:shared-library
|
||||
(format c-file +lisp-program-init+
|
||||
init-name init-tag prologue-code submodules epilogue-code)
|
||||
(format c-file +lisp-init-wrapper+ wrap-name init-name)
|
||||
(when wrap-name
|
||||
(format c-file +lisp-init-wrapper+ wrap-name init-name))
|
||||
(format c-file +lisp-library-main+
|
||||
main-name prologue-code init-name epilogue-code)
|
||||
(close c-file)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue