Return DYLIB_INSTALL_NAME_BASE for this target.
(self)
| 787 | return cflags_objcc |
| 788 | |
| 789 | def GetInstallNameBase(self): |
| 790 | """Return DYLIB_INSTALL_NAME_BASE for this target.""" |
| 791 | # Xcode sets this for shared_libraries, and for nonbundled loadable_modules. |
| 792 | if self.spec["type"] != "shared_library" and ( |
| 793 | self.spec["type"] != "loadable_module" or self._IsBundle() |
| 794 | ): |
| 795 | return None |
| 796 | install_base = self.GetPerTargetSetting( |
| 797 | "DYLIB_INSTALL_NAME_BASE", |
| 798 | default="/Library/Frameworks" if self._IsBundle() else "/usr/local/lib", |
| 799 | ) |
| 800 | return install_base |
| 801 | |
| 802 | def _StandardizePath(self, path): |
| 803 | """Do :standardizepath processing for path.""" |
no test coverage detected