GNOME Bugzilla – Bug 670581
Missing -lrt for clock_gettime()
Last modified: 2012-02-22 09:23:48 UTC
When building with LDFLAGS="-Wl,-z -Wl,defs" to report missing symbols, 3.3.90 and git head fail to build with CCLD libgnome-desktop-3.la .libs/gnome-datetime-source.o: In function `g_datetime_source_init_timerfd': /home/martin/upstream/gnome-desktop/libgnome-desktop/gnome-datetime-source.c:203: undefined reference to `clock_gettime' collect2: ld returned 1 exit status That's because it doesn't link with -lrt.
Created attachment 208181 [details] [review] git formatted patch Straightforward patch.
Review of attachment 208181 [details] [review]: Looks right to me
Pushed, thanks for your review.