From a0c1c3b14ebe25e99673bd3888dc9592ab85e434 Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Wed, 10 Jan 2007 13:52:04 +0000 Subject: [PATCH] Actually link gthread against librt. (#394641, Marco Pesenti Gritti) 2007-01-10 Matthias Clasen * configure.in: Actually link gthread against librt. (#394641, Marco Pesenti Gritti) svn path=/trunk/; revision=5241 --- ChangeLog | 5 +++++ configure.in | 1 + 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ab72c518b..210859f37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2007-01-10 Matthias Clasen + + * configure.in: Actually link gthread against librt. + (#394641, Marco Pesenti Gritti) + 2007-01-10 Matthias Clasen * glib/gkeyfile.c (g_key_file_is_key_name): Grr, allow '*' in keys, diff --git a/configure.in b/configure.in index eeee63b51..8203fd8c6 100644 --- a/configure.in +++ b/configure.in @@ -1985,6 +1985,7 @@ AC_CHECK_FUNCS(clock_gettime, [], [ AC_CHECK_LIB(rt, clock_gettime, [ AC_DEFINE(HAVE_CLOCK_GETTIME, 1) G_THREAD_LIBS="$G_THREAD_LIBS -lrt" + G_THREAD_LIBS_FOR_GTHREAD="$G_THREAD_LIBS_FOR_GTHREAD -lrt" ]) ])