Skip to content

Commit

Permalink
Merge branch 'fix-static-configuration-and-building' of https://githu…
Browse files Browse the repository at this point in the history
…b.com/ladatrimasova/util-linux

* 'fix-static-configuration-and-building' of https://github.com/ladatrimasova/util-linux:
  buildsys: fix static configuration and building
  • Loading branch information
karelzak committed Jan 27, 2016
2 parents 7ed6a6a + bf6be9f commit 71a77ca
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion configure.ac
Expand Up @@ -394,7 +394,14 @@ AC_CHECK_FUNCS([timer_create],
[AC_CHECK_LIB([rt], [timer_create], [
have_timer="yes"
REALTIME_LIBS="-lrt"
])]
],[
AC_SEARCH_LIBS([timer_create], [rt], [
AC_MSG_RESULT(yes)
have_timer="yes"
REALTIME_LIBS="-lrt -lpthread"
],[], [-lpthread]
)
])]
)

AC_SUBST([REALTIME_LIBS])
Expand Down

0 comments on commit 71a77ca

Please sign in to comment.