mirror of
https://github.com/janet-lang/janet
synced 2024-12-26 00:10:27 +00:00
Add version and soversion to meson libjanet.
This commit is contained in:
parent
320c6c6f05
commit
ff6601f29e
@ -167,6 +167,8 @@ janetc = custom_target('janetc',
|
|||||||
libjanet = library('janet', janetc,
|
libjanet = library('janet', janetc,
|
||||||
include_directories : incdir,
|
include_directories : incdir,
|
||||||
dependencies : [m_dep, dl_dep, thread_dep],
|
dependencies : [m_dep, dl_dep, thread_dep],
|
||||||
|
version: meson.project_version(),
|
||||||
|
soversion: version_parts[0] + '.' + version_parts[1],
|
||||||
install : true)
|
install : true)
|
||||||
|
|
||||||
# Extra c flags - adding -fvisibility=hidden matches the Makefile and
|
# Extra c flags - adding -fvisibility=hidden matches the Makefile and
|
||||||
|
Loading…
Reference in New Issue
Block a user