From 16ea5323e0575f60ffd3f434d8d8e4789f588429 Mon Sep 17 00:00:00 2001 From: Calvin Rose Date: Thu, 28 Sep 2023 20:32:14 -0500 Subject: [PATCH] More meson tweaks. --- .builds/openbsd.yml | 1 - meson.build | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.builds/openbsd.yml b/.builds/openbsd.yml index f4d7b32a..5526b15c 100644 --- a/.builds/openbsd.yml +++ b/.builds/openbsd.yml @@ -30,4 +30,3 @@ tasks: ninja ninja test doas ninja install - diff --git a/meson.build b/meson.build index fabe8cf0..b58b5d96 100644 --- a/meson.build +++ b/meson.build @@ -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