mirror of
https://github.com/janet-lang/janet
synced 2024-11-24 17:27:18 +00:00
Add static library to meson build.
This commit is contained in:
parent
6249f03367
commit
b83fe146fa
@ -129,6 +129,11 @@ libjanet = shared_library('janet', core_src, core_image,
|
||||
dependencies : [m_dep, dl_dep],
|
||||
install : true)
|
||||
|
||||
libjanet_static = static_library('janet', core_src, core_image,
|
||||
include_directories : incdir,
|
||||
dependencies : [m_dep, dl_dep],
|
||||
install : true)
|
||||
|
||||
janet_mainclient = executable('janet', core_src, core_image, init_gen, mainclient_src,
|
||||
include_directories : incdir,
|
||||
dependencies : [m_dep, dl_dep],
|
||||
@ -181,8 +186,10 @@ endforeach
|
||||
run_target('repl', command : [janet_nativeclient])
|
||||
|
||||
# For use as meson subproject (wrap)
|
||||
janet_dep = declare_dependency(include_directories : incdir,
|
||||
janet_shared_dep = declare_dependency(include_directories : incdir,
|
||||
link_with : libjanet)
|
||||
janet_static_dep = declare_dependency(include_directories : incdir,
|
||||
link_with : libjanet_static)
|
||||
|
||||
# Installation
|
||||
install_man('janet.1')
|
||||
|
Loading…
Reference in New Issue
Block a user