meson_install: os.symlink may be implemented and still not work

Requires Administrator access by default to work
pull/399/merge
Nirbheek Chauhan 9 years ago committed by Jussi Pakkanen
parent 3abd5305c2
commit a15e784851
  1. 2
      mesonbuild/scripts/meson_install.py

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

Loading…
Cancel
Save