Make that `-pthreads', with a trailing `s', for making GCC pre gcc-4.x
[libradsec.git] / configure.ac
index 7585a60..e6b62c0 100644 (file)
@@ -55,7 +55,7 @@ case "${target_os}" in
     if test "$GCC" != yes ; then
       TARGET_CFLAGS="$TARGET_CFLAGS -mt"
     else
-      TARGET_CFLAGS="$TARGET_CFLAGS -pthread"
+      TARGET_CFLAGS="$TARGET_CFLAGS -pthreads"
     fi
     TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
     ;;