1
0
mirror of https://github.com/janet-lang/janet synced 2024-12-25 07:50:27 +00:00

Add version and soversion to meson libjanet.

This commit is contained in:
Calvin Rose 2020-04-04 18:04:22 -05:00
parent 320c6c6f05
commit ff6601f29e

View File

@ -167,6 +167,8 @@ janetc = custom_target('janetc',
libjanet = library('janet', janetc,
include_directories : incdir,
dependencies : [m_dep, dl_dep, thread_dep],
version: meson.project_version(),
soversion: version_parts[0] + '.' + version_parts[1],
install : true)
# Extra c flags - adding -fvisibility=hidden matches the Makefile and