aboutsummaryrefslogtreecommitdiffhomepage
path: root/meson.build
diff options
context:
space:
mode:
authorCalvin Rose <calsrose@gmail.com>2023-09-28 20:32:14 -0500
committerCalvin Rose <calsrose@gmail.com>2023-09-28 20:32:14 -0500
commit16ea5323e0575f60ffd3f434d8d8e4789f588429 (patch)
tree923e28befb9f1ef1ba719a20797db7dfe435d338 /meson.build
parentSee if we can fix sr.ht build due to change in install. (diff)
More meson tweaks.
Diffstat (limited to 'meson.build')
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
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