# HG changeset patch # User Bernhard Urban # Date 1398340997 -7200 # Node ID f14192b72692c09ac80111c833a1643830486205 # Parent 2682747f71082ae187342eb9e26944b7bcc2729c mx exportlibs: fix in calculation of library dependencies diff -r 2682747f7108 -r f14192b72692 mxtool/mx.py --- a/mxtool/mx.py Thu Apr 24 15:51:52 2014 +0200 +++ b/mxtool/mx.py Thu Apr 24 14:03:17 2014 +0200 @@ -4383,12 +4383,12 @@ # a library can have other libraries as dependency size = 0 while size != len(libsToExport): + size = len(libsToExport) for lib in libsToExport.copy(): for dep in lib.deps: r = isValidLibrary(dep) if r: libsToExport.add(r) - size = len(libsToExport) for lib in libsToExport: add(lib.get_path(resolve=True), lib.path)