build: don't link everything to libcap
authorMichal Schmidt <mschmidt@redhat.com>
Tue, 13 Oct 2015 17:52:06 +0000 (19:52 +0200)
committerMichal Schmidt <mschmidt@redhat.com>
Wed, 14 Oct 2015 12:49:18 +0000 (14:49 +0200)
commit5fd2e2284323304ad28f8ab80041f3cf6632dc72
tree7aa8e61b9769758b8d85a14ba68d3d442d4d86db
parent7f7bfcf3cfc6f0d9fabffb63a44b607a7a040d57
build: don't link everything to libcap

The intent of the assignments around the check for libcap was obviously
to avoid polluting LIBS. To work properly, LIBS must be restored from
the save_LIBS variable.

The practical effect is small though, because pretty much everything
links with libbasic, which links with CAP_LIBS.
configure.ac