toolchain: allow a recipe to have a main library and additional library at the same time

This commit is contained in:
Mathieu Virbel 2015-02-24 12:02:06 +01:00
parent 3411cd89f9
commit 7ae3f8efbc

View file

@ -652,7 +652,7 @@ class Recipe(object):
ensure_dir(dirname(static_fn))
print("Lipo {} to {}".format(self.name, static_fn))
self.make_lipo(static_fn)
elif self.libraries:
if self.libraries:
print("Create multiple lipo for {}".format(name))
for library in self.libraries:
static_fn = join(self.ctx.dist_dir, "lib", basename(library))