1
0
mirror of https://github.com/janet-lang/janet synced 2025-01-30 17:14:45 +00:00

Fix meson install test.

This commit is contained in:
Calvin Rose 2023-09-27 00:19:35 -05:00
parent d12464fc0e
commit d19db30f3d

View File

@ -294,6 +294,6 @@ 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' + meson.project_version() + '.h', install_dir: join_paths(get_option('includedir'), 'janet'))
install_symlink('janet.h', pointing_to: 'janet_' + meson.project_version() + '.h', install_dir: join_paths(get_option('includedir'), 'janet'))
endif