Append -lcap to EXTRA_LIBS in configure

This commit is contained in:
Miroslav Lichvar 2013-11-15 13:22:16 +01:00
parent c38dbcc6b5
commit 030833087d

2
configure vendored
View file

@ -439,7 +439,7 @@ if [ $feat_linuxcaps = "1" ] && [ $try_linuxcaps = "1" ] && \
'prctl(PR_SET_KEEPCAPS, 1);cap_set_proc(cap_from_text("cap_sys_time=ep"));'
then
add_def FEAT_LINUXCAPS
EXTRA_LIBS="-lcap"
EXTRA_LIBS="$EXTRA_LIBS -lcap"
fi
if [ $feat_rtc = "1" ] && [ $try_rtc = "1" ] && \