Mercurial > hg > graal-jvmci-8
diff mxtool/mx.py @ 15362:f14192b72692
mx exportlibs: fix in calculation of library dependencies
author | Bernhard Urban <bernhard.urban@jku.at> |
---|---|
date | Thu, 24 Apr 2014 14:03:17 +0200 |
parents | 9e7f87dc6395 |
children | 9693513ce95c |
line wrap: on
line diff
--- 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)