3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-11 03:33:35 +00:00

Fix dead comment and expand on the reasons for making a symbolic link

slightly.
This commit is contained in:
Dan Liew 2015-11-25 16:00:35 +00:00
parent 684318149b
commit 32c4384d48

View file

@ -1245,9 +1245,9 @@ class DLLComponent(Component):
MakeRuleCmd.install_files(out, dllfile, os.path.join(pythonPkgDirWithoutPrefix, dllfile))
else:
# Create symbolic link to save space.
# Compute the relative path from the python package directory
# to libz3. It's important that this symlink be relative
# (rather than absolute) so that the install is relocatable.
# It's important that this symbolic link be relative (rather
# than absolute) so that the install is relocatable (needed for
# staged installs that use DESTDIR).
MakeRuleCmd.create_relative_symbolic_link(out, dllInstallPath, os.path.join(pythonPkgDirWithoutPrefix, dllfile))
if self.static:
libfile = '%s$(LIB_EXT)' % self.dll_name