mirror of
git://git.gnupg.org/gnupg.git
synced 2025-07-14 21:47:19 +02:00
* configure.ac: Define @CAPLIBS@ to link in -lcap if we are using
capabilities.
This commit is contained in:
parent
909f6a0637
commit
e84c4ca606
2 changed files with 6 additions and 1 deletions
|
@ -738,7 +738,7 @@ if test "$ac_cv_header_sys_capability_h" = "yes" ; then
|
|||
if test "$ac_cv_lib_cap_cap_init" = "yes"; then
|
||||
AC_DEFINE(USE_CAPABILITIES,1,
|
||||
[define if capabilities should be used])
|
||||
LIBS="$LIBS -lcap"
|
||||
AC_SUBST(CAPLIBS,"-lcap")
|
||||
use_capabilities=yes
|
||||
fi
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue