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

Method GetLibtoolflags

tools/gyp/pylib/gyp/xcode_emulation.py:1000–1014  ·  view source on GitHub ↗

Returns flags that need to be passed to the static linker. Args: configname: The name of the configuration to get ld flags for.

(self, configname)

Source from the content-addressed store, hash-verified

998 return ldflags
999
1000 def GetLibtoolflags(self, configname):
1001 """Returns flags that need to be passed to the static linker.
1002
1003 Args:
1004 configname: The name of the configuration to get ld flags for.
1005 """
1006 self.configname = configname
1007 libtoolflags = []
1008
1009 for libtoolflag in self._Settings().get("OTHER_LDFLAGS", []):
1010 libtoolflags.append(libtoolflag)
1011 # TODO(thakis): ARCHS?
1012
1013 self.configname = None
1014 return libtoolflags
1015
1016 def GetPerTargetSettings(self):
1017 """Gets a list of all the per-target settings. This will only fetch keys

Callers 2

WriteTargetMethod · 0.80
WriteTargetMethod · 0.80

Calls 3

_SettingsMethod · 0.95
getMethod · 0.65
appendMethod · 0.45

Tested by

no test coverage detected