summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index d35c96e..056f6cb 100755
--- a/configure
+++ b/configure
@@ -3529,6 +3529,8 @@ case "${target_os}" in
TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
if test "$GCC" != yes ; then
TARGET_CFLAGS="$TARGET_CFLAGS -mt"
+ else
+ TARGET_CFLAGS="$TARGET_CFLAGS -pthread"
fi
TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
;;