code: def get_flags_linker_so(self):
      if sys.platform == "darwin":
          return [
              "-unsharedrts",
              "-Wl,-bundle,-flat_namespace,-undefined,suppress",
          ]
      return BaseNAGFCompiler.get_flags_linker_so(self)
  
file_path: numpy/numpy/distutils/fcompiler/nag.py
imports: import sys
  import re
  from numpy.distutils.fcompiler import FCompiler
label_desc: Use image node_id 1 for calling the NAGFORCompiler obj's underlying member method code with example usage: obj.get_flags_linker_so() and returns: BaseNAGFCompiler, list