OSDN Git Service

Make building an empty static library work.
authorTorne (Richard Coles) <torne@google.com>
Fri, 15 Jun 2012 15:03:52 +0000 (16:03 +0100)
committerTorne (Richard Coles) <torne@google.com>
Fri, 15 Jun 2012 15:06:21 +0000 (16:06 +0100)
commitbffaef246a5b838eb40a642463b1186935424fae
treec1467750afcd84a4760fc16a5d333319c602c77a
parenta9e85effdd50db0dbd04c7b6bb38f8b3f4e88bf8
Make building an empty static library work.

Handle the case where a static library is not built because it has no
input files (e.g. because they are conditionally included and it happens
that the computed list is empty). Previously, ar never ran because of
split-long-arguments, and anything that depended on the static library
would fail to link. Make sure that ar runs at least once.

Change-Id: If0071d7ae50c4e45fff1772dca43187af155db1f
core/definitions.mk