diff --git a/meson_install.py b/meson_install.py index 0d6db8215..179b053bb 100755 --- a/meson_install.py +++ b/meson_install.py @@ -190,7 +190,7 @@ def install_targets(d): os.unlink(symlinkfilename) except FileNotFoundError: pass - os.symlink(fname, symlinkfilename) + os.symlink(os.path.split(fname)[-1], symlinkfilename) except NotImplementedError: if not printed_symlink_error: print("Symlink creation does not work on this platform.")