]> err.no Git - systemd/commit
util: don't require libcap when building libsystemd-shared
authorKay Sievers <kay@vrfy.org>
Thu, 31 May 2012 09:58:06 +0000 (11:58 +0200)
committerKay Sievers <kay@vrfy.org>
Thu, 31 May 2012 09:58:06 +0000 (11:58 +0200)
commit051d68786bd5bfe87e7cc0c1d68ec4be83eb662a
tree547a498337e76ab59f38ca9c50cd3049b6799a55
parentaa0f64ac851ebf27342d66947b5170bfeb9f49ae
util: don't require libcap when building libsystemd-shared

src/shared/util.c includes <sys/capability.h> but doesn't use anything
defined there.  Since <sys/capability.h> is part of libcap, not libc,
don't require it.

Allows systemd-without-udevd to require fewer external libraries.
src/shared/util.c