From 89c1785b73225a1b363c0e485f854613121b70a7 Mon Sep 17 00:00:00 2001 From: Leonardo de Moura Date: Tue, 13 Nov 2012 21:49:37 -0800 Subject: [PATCH] fixed clang++ for linux Signed-off-by: Leonardo de Moura --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f0314e7c042..a02915ff4db 100644 --- a/configure.ac +++ b/configure.ac @@ -134,7 +134,8 @@ AS_IF([test "$host_os" = "Darwin"], [ ], [test "$host_os" = "Linux"], [ PLATFORM=linux SO_EXT=.so - SLIBFLAGS+="-shared" + LDFLAGS+=" -lrt" + SLIBFLAGS+=" -shared" COMP_VERSIONS= STATIC_FLAGS=-static CXXFLAGS+=" -fno-strict-aliasing"