mirror of
https://github.com/CatalaLang/catala.git
synced 2024-11-08 07:51:43 +03:00
bc8eda581c
We have an obvious limitation: static builds won't support plugins. We could resort to the classic method and do normal builds but on an old distrib to dodge compatibility issues. That would still be compatible with statically linking the more specific libs, like e.g. z3.
36 lines
554 B
Plaintext
36 lines
554 B
Plaintext
(library
|
|
(name ninja_utils)
|
|
(public_name ninja_utils)
|
|
(modules ninja_utils)
|
|
(libraries re))
|
|
|
|
(library
|
|
(name clerk_driver)
|
|
(public_name clerk.driver)
|
|
(libraries
|
|
catala.runtime_ocaml
|
|
catala.utils
|
|
ninja_utils
|
|
cmdliner
|
|
re
|
|
ANSITerminal)
|
|
(modules clerk_driver))
|
|
|
|
(rule
|
|
(target custom_linking.sexp)
|
|
(mode fallback)
|
|
(action
|
|
(with-stdout-to
|
|
%{target}
|
|
(echo "()"))))
|
|
|
|
(executable
|
|
(name clerk)
|
|
(public_name clerk)
|
|
(flags
|
|
(:standard
|
|
(:include custom_linking.sexp)))
|
|
(libraries clerk.driver)
|
|
(modules clerk)
|
|
(package clerk))
|