build: Port meson-make-symlink script to Python
Instead of using non-portable features of GNU ln command, such as -T and --relative, use Python os.path.relpath function to handle it. This fixes installation failure on FreeBSD.
This commit is contained in:
parent
aaa141f28b
commit
8b7d4e46de
3 changed files with 36 additions and 13 deletions
|
@ -13,7 +13,7 @@ gnome = import('gnome')
|
|||
i18n = import('i18n')
|
||||
pkgconfig = import('pkgconfig')
|
||||
|
||||
meson_make_symlink = join_paths(meson.source_root(), 'tools', 'meson-make-symlink.sh')
|
||||
meson_make_symlink = join_paths(meson.source_root(), 'tools', 'meson-make-symlink.py')
|
||||
po_dir = join_paths(meson.source_root(), 'po')
|
||||
|
||||
prefix = get_option('prefix')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue