If they resolve to a missing file, we don't care about them. If they resolve
to an existing file, we'll scan that file anyway.
# Path (relative) to the file
fp = os.path.join(r, curfile)
# Path (relative) to the file
fp = os.path.join(r, curfile)
- fd = fp[len(build_dir) + 1:]
+ if os.path.islink(fp):
+ continue
+
+ fd = fp[len(build_dir) + 1:]
ext = common.get_extension(fd)
if ext == 'so':
ext = common.get_extension(fd)
if ext == 'so':