aboutsummaryrefslogtreecommitdiff
path: root/meson_install.py
diff options
context:
space:
mode:
Diffstat (limited to 'meson_install.py')
-rwxr-xr-xmeson_install.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson_install.py b/meson_install.py
index 0d6db82..179b053 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.")