code: def set_system_libs_flag(environ_cp):
      """Set system libs flags."""
      syslibs = environ_cp.get("TF_SYSTEM_LIBS", "")
  
      if is_s390x() and "boringssl" not in syslibs:
          syslibs = "boringssl" + (", " + syslibs if syslibs else "")
  
      if syslibs:
          if "," in syslibs:
              syslibs = ",".join(sorted(syslibs.split(",")))
          else:
              syslibs = ",".join(sorted(syslibs.split()))
          write_action_env_to_bazelrc("TF_SYSTEM_LIBS", syslibs)
  
      for varname in (
          "PREFIX",
          "LIBDIR",
          "INCLUDEDIR",
          "PROTOBUF_INCLUDE_PATH",
      ):
          if varname in environ_cp:
              write_to_bazelrc(
                  "build --define=%s=%s"
                  % (varname, environ_cp[varname])
              )
  
imports: import argparse
  import errno
  import glob
  import json
  import os
  import platform
  import re
  import subprocess
  import sys
label_desc: Use image node_id 45 for calling a global function with example usage: set_system_libs_flag(environ_cp) without return types