mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2025-12-26 06:20:12 +01:00
Add -lrt to the libs
Needed for clock_gettime() Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
5d36e8e817
commit
f28eb5ecec
2 changed files with 2 additions and 1 deletions
|
|
@ -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"
|
||||
|
|
|
|||
|
|
@ -10,5 +10,5 @@ Description: Input device library
|
|||
Version: @LIBINPUT_VERSION@
|
||||
Cflags: -I${includedir}
|
||||
Libs: -L${libdir} -linput
|
||||
Libs.private: -lm
|
||||
Libs.private: -lm -lrt
|
||||
Requires.private: libudev
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue