def include_library(libname):
 if exclude_list:
  if (exclude_list.search(libname) and (not include_list.search(libname))):
   return False
  else:
   return True
 else:
  return True

def include_library ( libname ) : if exclude_list : if ( exclude_list . search ( libname ) and ( not include_list . search ( libname ) ) ) : return False else : return True else : return True
check if a dynamic library should be included with application or not .