From: Andre Noll Date: Sun, 19 May 2013 20:09:52 +0000 (+0200) Subject: Fix compilation on Ubuntu precise. X-Git-Tag: v0.4.13~35^2 X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=commitdiff_plain;h=6ce07bab6f8bcb3ac8f3f3f6ceb14ac105e16aa9;hp=6ce07bab6f8bcb3ac8f3f3f6ceb14ac105e16aa9 Fix compilation on Ubuntu precise. This distro ships glibc-2.15 where clock_gettime() is part of the realtime library librt. So all executables which call clock_gettime() must be linked with -lrt. The configure script detects this and adds -lrt to LDFLAGS. However, -lrt must come *after* the objects to be linked together, which is currently not the case. Fix this by moving $(LDFLAGS) to the end of the recipe for the targets of all executables. ---