def get_lib(self, arch='<STR_LIT>', native=False):
if self.sdk_version == '<STR_LIT>':<EOL><INDENT>if arch == '<STR_LIT>':<EOL><INDENT>arch = '<STR_LIT>'<EOL><DEDENT>lib = os.path.join(self.sdk_dir, '<STR_LIT>', arch)<EOL>if os.path.isdir(lib):<EOL><INDENT>logging.info(_('<STR_LIT>'), lib)<EOL>return [lib]<EOL><DEDENT>logging.debug(_('<STR_LIT>'), lib)<EOL>return []<EOL><DEDENT>if self.sdk_version == '<STR_LIT>':<EOL><INDENT>if native:<EOL><INDENT>extra = os.path.join('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>else:<EOL><INDENT>extra = os.path.join('<STR_LIT>', '<STR_LIT>')<EOL><DEDENT>lib = os.path.join(self.sdk_dir, '<STR_LIT>', extra, arch)<EOL>if os.path.isdir(lib):<EOL><INDENT>logging.info(_('<STR_LIT>'), lib)<EOL>return [lib]<EOL><DEDENT>logging.debug(_('<STR_LIT>'), lib)<EOL>return []<EOL><DEDENT>if self.sdk_version == '<STR_LIT>':<EOL><INDENT>dirs = []<EOL>extra = os.path.join('<STR_LIT>', '<STR_LIT>')<EOL>for mode in ['<STR_LIT>', '<STR_LIT>']:<EOL><INDENT>lib = os.path.join(self.sdk_dir, extra, mode, arch)<EOL>if os.path.isdir(lib):<EOL><INDENT>logging.info(_('<STR_LIT>'), lib)<EOL>dirs.append(lib)<EOL><DEDENT>else:<EOL><INDENT>logging.debug(_('<STR_LIT>'), lib)<EOL><DEDENT><DEDENT>return dirs<EOL><DEDENT>message = '<STR_LIT>'.format(self.sdk_version)<EOL>raise RuntimeError(message)<EOL>
Get lib directories of Windows SDK.