parameters: (self)
docstring: _dynamic_cc_binary.
docstring_summary: _dynamic_cc_binary.
docstring_tokens: _dynamic_cc_binary .
function: def _dynamic_cc_binary(self):
          """_dynamic_cc_binary. """
          env_name = self._env_name()
          var_name = self._generate_variable_name(self.path, self.name)
          if self.data.get('export_dynamic'):
              self._write_rule('%s.Append(LINKFLAGS="-rdynamic")' % env_name)
  
          self._setup_extra_link_flags()
  
          lib_str = self._get_dynamic_deps_lib_list()
          self._write_rule('%s = %s.Program("%s", %s, %s)' % (
              var_name,
              env_name,
              self._target_file_path(),
              self._objs_name(),
              lib_str))
  
          self._write_rule('%s.Append(LINKFLAGS=str(version_obj[0]))' % env_name)
          self._write_rule('%s.Requires(%s, version_obj)' % (
                           env_name, var_name))
  
          self._write_rpath_links()
function_tokens: def _dynamic_cc_binary ( self ) : env_name = self . _env_name ( ) var_name = self . _generate_variable_name ( self . path , self . name ) if self . data . get ( 'export_dynamic' ) : self . _write_rule ( '%s.Append(LINKFLAGS="-rdynamic")' % env_name ) self . _setup_extra_link_flags ( ) lib_str = self . _get_dynamic_deps_lib_list ( ) self . _write_rule ( '%s = %s.Program("%s", %s, %s)' % ( var_name , env_name , self . _target_file_path ( ) , self . _objs_name ( ) , lib_str ) ) self . _write_rule ( '%s.Append(LINKFLAGS=str(version_obj[0]))' % env_name ) self . _write_rule ( '%s.Requires(%s, version_obj)' % ( env_name , var_name ) ) self . _write_rpath_links ( )