mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-04 05:45:07 -05:00
Append -lcap to EXTRA_LIBS in configure
This commit is contained in:
2
configure
vendored
2
configure
vendored
@@ -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"));'
|
'prctl(PR_SET_KEEPCAPS, 1);cap_set_proc(cap_from_text("cap_sys_time=ep"));'
|
||||||
then
|
then
|
||||||
add_def FEAT_LINUXCAPS
|
add_def FEAT_LINUXCAPS
|
||||||
EXTRA_LIBS="-lcap"
|
EXTRA_LIBS="$EXTRA_LIBS -lcap"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $feat_rtc = "1" ] && [ $try_rtc = "1" ] && \
|
if [ $feat_rtc = "1" ] && [ $try_rtc = "1" ] && \
|
||||||
|
|||||||
Reference in New Issue
Block a user