Create symlinks properly. Fixes #19.

pull/24/head
Jussi Pakkanen 10 years ago
parent 47bea98298
commit 46773e75a8
  1. 2
      meson_install.py

@ -190,7 +190,7 @@ def install_targets(d):
os.unlink(symlinkfilename) os.unlink(symlinkfilename)
except FileNotFoundError: except FileNotFoundError:
pass pass
os.symlink(fname, symlinkfilename) os.symlink(os.path.split(fname)[-1], symlinkfilename)
except NotImplementedError: except NotImplementedError:
if not printed_symlink_error: if not printed_symlink_error:
print("Symlink creation does not work on this platform.") print("Symlink creation does not work on this platform.")

Loading…
Cancel
Save