Skip to content

Commit

Permalink
Update dependency_builder.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mq1n committed May 26, 2024
1 parent f73d21d commit bda7854
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions dependency_builder.py
Original file line number Diff line number Diff line change
Expand Up @@ -44,10 +44,11 @@ def export_lib(outdir, infiles):
if dep == infile:
continue

print("\tdep: {0}".format(dep))
real_dep = os.path.realpath(dep)
print("\tdep: {0} -> {1}".format(dep, real_dep))

if pathmap.count(dep) == 0:
pathmap.append(dep)
if pathmap.count(real_dep) == 0:
pathmap.append(real_dep)

for src in pathmap:
if not os.path.isfile(src):
Expand Down Expand Up @@ -92,4 +93,3 @@ def main(argv):

if __name__ == "__main__":
sys.exit(main(sys.argv[1:]))

0 comments on commit bda7854

Please sign in to comment.