mirror of
https://github.com/uroni/urbackup_backend.git
synced 2025-10-26 11:36:50 +00:00
Link with -lrt if necessary
(cherry picked from commit 524b2086403944979636b71a5a609ace60a1cf54)
This commit is contained in:
parent
d0fb217078
commit
be56ca1521
@ -97,5 +97,9 @@ then
|
||||
AC_PROG_OBJCXX
|
||||
fi
|
||||
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt posix4],
|
||||
[test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$LIBS $ac_cv_search_clock_gettime"],
|
||||
[AC_MSG_FAILURE([No library for clock_gettime found])] )
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
@ -107,5 +107,9 @@ then
|
||||
fi
|
||||
AC_SUBST([WITH_FUSEPLUGIN_CXXFLAGS])
|
||||
|
||||
AC_SEARCH_LIBS([clock_gettime], [rt posix4],
|
||||
[test "$ac_cv_search_clock_gettime" = "none required" || LIBS="$LIBS $ac_cv_search_clock_gettime"],
|
||||
[AC_MSG_FAILURE([No library for clock_gettime found])] )
|
||||
|
||||
AC_CONFIG_FILES([Makefile])
|
||||
AC_OUTPUT
|
||||
|
||||
Loading…
Reference in New Issue
Block a user