Commits

Satish Balay committed 461bd33

#110990 fix timestamp order for .so vs .a during 'make install'

Hg-commit: 7f0211769daf56d8e25395178cbd003ad9847740

  • Participants
  • Parent commits c454683

Comments (0)

Files changed (1)

File config/install.py

     if os.path.splitext(dst)[1] == '.dylib' and os.path.isfile('/usr/bin/install_name_tool'):
       installName = re.sub(self.destDir, self.installDir, dst)
       self.executeShellCommand('/usr/bin/install_name_tool -id ' + installName + ' ' + dst)
+    # preserve the original timestamps - so that the .a vs .so time order is preserved
+    shutil.copystat(src,dst)
     return
 
   def installLib(self):