1
0
mirror of https://github.com/janet-lang/janet synced 2025-06-18 06:24:21 +00:00

More meson tweaks.

This commit is contained in:
Calvin Rose 2023-09-28 20:32:14 -05:00
parent 7a23ce2367
commit 16ea5323e0
2 changed files with 1 additions and 2 deletions

View File

@ -30,4 +30,3 @@ tasks:
ninja
ninja test
doas ninja install

View File

@ -293,7 +293,7 @@ patched_janet = custom_target('patched-janeth',
# Create a version of the janet.h header that matches what jpm often expects
if meson.version().version_compare('>=0.61')
install_symlink('janet.h', pointing_to: 'janet/janet.h', install_dir: get_option('includedir'))
install_symlink('janet.h', pointing_to: 'janet/janet_' + meson.project_version() + '.h', install_dir: get_option('includedir'))
install_symlink('janet.h', pointing_to: 'janet_' + meson.project_version() + '.h', install_dir: join_paths(get_option('includedir'), 'janet'))
endif