]> git.ipfire.org Git - thirdparty/chrony.git/commitdiff
Append -lcap to EXTRA_LIBS in configure
authorMiroslav Lichvar <mlichvar@redhat.com>
Fri, 15 Nov 2013 12:22:16 +0000 (13:22 +0100)
committerMiroslav Lichvar <mlichvar@redhat.com>
Fri, 15 Nov 2013 12:22:45 +0000 (13:22 +0100)
configure

index 98541f7940116376eb01747ebe8e94ea021ea00c..78750e4eb191f50b0d4481451f57bcd1cf165125 100755 (executable)
--- a/configure
+++ b/configure
@@ -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" ] && \