MCPcopy Index your code
hub / github.com/nodejs/node / GetInstallNameBase

Method GetInstallNameBase

tools/gyp/pylib/gyp/xcode_emulation.py:789–800  ·  view source on GitHub ↗

Return DYLIB_INSTALL_NAME_BASE for this target.

(self)

Source from the content-addressed store, hash-verified

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."""

Callers 2

GetInstallNameMethod · 0.95
_GetXcodeEnvFunction · 0.80

Calls 2

_IsBundleMethod · 0.95
GetPerTargetSettingMethod · 0.95

Tested by

no test coverage detected