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"