diff options
author | Michael Biebl <biebl@debian.org> | 2011-07-28 04:02:32 +0200 |
---|---|---|
committer | Michael Biebl <biebl@debian.org> | 2011-07-28 05:01:12 +0200 |
commit | 85f19d825e7504676f3a80c78c1d9a7ec35a3b3f (patch) | |
tree | 223f1a62c0add48d2a0e312a0edbe62cd1b68581 /Makefile.am | |
parent | 6c7506dca32f8add56cd03bf263f417305de74a0 (diff) |
Link against -lcap only where required
Don't put -lcap into LIBS as otherwise everything will be linked against
it, like libsystemd-daemon, where this is not desired.
Diffstat (limited to 'Makefile.am')
-rw-r--r-- | Makefile.am | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am index 25ce3f4704..15349a1aef 100644 --- a/Makefile.am +++ b/Makefile.am @@ -545,7 +545,8 @@ libsystemd_basic_la_CFLAGS = \ $(SELINUX_CFLAGS) libsystemd_basic_la_LIBADD = \ - $(SELINUX_LIBS) + $(SELINUX_LIBS) \ + $(CAP_LIBS) libsystemd_core_la_SOURCES = \ src/unit.c \ @@ -614,7 +615,8 @@ libsystemd_core_la_LIBADD = \ $(UDEV_LIBS) \ $(LIBWRAP_LIBS) \ $(PAM_LIBS) \ - $(AUDIT_LIBS) + $(AUDIT_LIBS) \ + $(CAP_LIBS) # This is needed because automake is buggy in how it generates the # rules for C programs, but not Vala programs. We therefore can't |