diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index c26438ad..7f6d7d91 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -140,8 +140,11 @@ def scan_source(build_dir, root_dir, thisbuild): # 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':