OSDN Git Service

* configure: Rebuilt.
[pf3gnuchains/gcc-fork.git] / libjava / configure.ac
index 5816efe..113b9ba 100644 (file)
@@ -1021,7 +1021,10 @@ else
          AC_DEFINE(HAVE_CLOCK_GETTIME, 1, [Define if you have clock_gettime()])
         case "$THREADSPEC" in
           *-lrt*) ;;
-          *) THREADSPEC="$THREADSPEC -lrt" ;;
+          *)
+            THREADSPEC="$THREADSPEC -lrt"
+            THREADLIBS="$THREADLIBS -lrt"
+            ;;
         esac])
 
       LIBS="$save_LIBS"