tools lib api: Add str_error_c to libapi
authorArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Jul 2016 20:09:17 +0000 (17:09 -0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 27 Jul 2016 20:16:43 +0000 (17:16 -0300)
commit8149a774d53afeaf5eb337a813f828f8b8ce68da
tree509034188b1438ddd9f572e378caf69d0866bd12
parente4b3e0694bbc0350251e22abc215a7ff506f9162
tools lib api: Add str_error_c to libapi

Because it uses that function, which would lead every tool using it
to need to link against tools/lib/str_error_r.o.

This fixes building tools/vm/, that links with libapi.

Reported-by: Arjan van de Ven <arjan@linux.intel.com>
Reported-by: Randy Dunlap <rdunlap@infradead.org>
Cc: Adrian Hunter <adrian.hunter@intel.com>
Cc: David Ahern <dsahern@gmail.com>
Cc: Jiri Olsa <jolsa@kernel.org>
Cc: Namhyung Kim <namhyung@kernel.org>
Cc: Wang Nan <wangnan0@huawei.com>
Fixes: b31e3e3316a7 ("tools lib api fs: Use str_error_r()")
Link: http://lkml.kernel.org/n/tip-aedt3qzibhnhaov2j4caqi61@git.kernel.org
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/lib/api/Build
tools/perf/util/Build
tools/perf/util/python-ext-sources