diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-03 09:30:40 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2014-07-03 09:59:43 +1000 |
commit | f28eb5ecec98b1f6fe9de3933bb1bb718d45929e (patch) | |
tree | 3b956f9a7fd5e9246d8328284cf976d8d1c7d660 /configure.ac | |
parent | 5d36e8e817cb3501165dd2d1b36d3487fa523eab (diff) |
Add -lrt to the libs
Needed for clock_gettime()
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index ca31720..3497cb6 100644 --- a/configure.ac +++ b/configure.ac @@ -58,6 +58,7 @@ PKG_CHECK_MODULES(MTDEV, [mtdev >= 1.1.0]) PKG_CHECK_MODULES(LIBUDEV, [libudev]) PKG_CHECK_MODULES(LIBEVDEV, [libevdev >= 0.4]) AC_CHECK_LIB([m], [atan2]) +AC_CHECK_LIB([rt], [clock_gettime]) if test "x$GCC" = "xyes"; then GCC_CXXFLAGS="-Wall -Wextra -Wno-unused-parameter -g -fvisibility=hidden" |