Commit 336d5469 by Dwight Engen Committed by Stéphane Graber

ensure clock_gettime symbol is found

got link error liblxc.so: undefined reference to `clock_gettime' clock_gettime is used by lxclock.c and is in librt, or bionic libc. Signed-off-by: 's avatarDwight Engen <dwight.engen@oracle.com> Acked-by: 's avatarStéphane Graber <stgraber@ubuntu.com>
parent 6e2faa37
...@@ -289,6 +289,7 @@ AC_CHECK_FUNCS([fgetln], ...@@ -289,6 +289,7 @@ AC_CHECK_FUNCS([fgetln],
# Check for some libraries # Check for some libraries
AC_SEARCH_LIBS(sem_open, [rt pthread]) AC_SEARCH_LIBS(sem_open, [rt pthread])
AC_SEARCH_LIBS(clock_gettime, [rt])
# Check for some standard binaries # Check for some standard binaries
AC_PROG_GCC_TRADITIONAL AC_PROG_GCC_TRADITIONAL
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment