Do :standardizepath processing for path.
(self, path)
| 800 | return install_base |
| 801 | |
| 802 | def _StandardizePath(self, path): |
| 803 | """Do :standardizepath processing for path.""" |
| 804 | # I'm not quite sure what :standardizepath does. Just call normpath(), |
| 805 | # but don't let @executable_path/../foo collapse to foo. |
| 806 | if "/" in path: |
| 807 | prefix, rest = "", path |
| 808 | if path.startswith("@"): |
| 809 | prefix, rest = path.split("/", 1) |
| 810 | rest = os.path.normpath(rest) # :standardizepath |
| 811 | path = os.path.join(prefix, rest) |
| 812 | return path |
| 813 | |
| 814 | def GetInstallName(self): |
| 815 | """Return LD_DYLIB_INSTALL_NAME for this target.""" |
no test coverage detected