]> git.saurik.com Git - wxWidgets.git/blobdiff - configure
typo fixed: should be lpthread, not -lpthread in THREAD_OPTS
[wxWidgets.git] / configure
index e9b8b69388cf3e24fa5de6133b9cfff76b794260..6c8069b29e0aa2612ec37834ed6eb6f9293ffae0 100755 (executable)
--- a/configure
+++ b/configure
@@ -17122,7 +17122,7 @@ if test "$TOOLKIT" != "MSW"; then
         case "${host}" in
           *-*-solaris2* | *-*-sunos4* )
                 if test "x$GCC" = "xyes"; then
-                                        THREAD_OPTS="$THREAD_OPTS -pthreads"
+                                        THREAD_OPTS="-pthreads $THREAD_OPTS"
                 else
                     THREAD_OPTS="-mt $THREAD_OPTS"
                 fi
@@ -17135,7 +17135,7 @@ if test "$TOOLKIT" != "MSW"; then
                 ;;
         esac
 
-                                THREAD_OPTS="$THREAD_OPTS -lpthread none"
+                                THREAD_OPTS="$THREAD_OPTS pthread none"
 
                 THREADS_OK=no
         for flag in $THREAD_OPTS; do