Skip to content

Commit bda7854

Browse files
committed
Update dependency_builder.py
1 parent f73d21d commit bda7854

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

dependency_builder.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -44,10 +44,11 @@ def export_lib(outdir, infiles):
4444
if dep == infile:
4545
continue
4646

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

49-
if pathmap.count(dep) == 0:
50-
pathmap.append(dep)
50+
if pathmap.count(real_dep) == 0:
51+
pathmap.append(real_dep)
5152

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

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

0 commit comments

Comments
 (0)