summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--configure.ac5
2 files changed, 6 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index d5c0c1f..71c780f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -62,5 +62,6 @@
Fixed header files for FreeBSD
Fix for multiple UDP servers on same IP address, solves accounting
problems.
-2009-09-11 1.3.2
+2010-02-26 1.3.2
Fixed UDP fragmentation issue
+ Fix build on Solaris when compiling with gcc.
diff --git a/configure.ac b/configure.ac
index a49ab91..e57baa5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -50,7 +50,10 @@ dnl Check if we're on Solaris and set CFLAGS accordingly
AC_CANONICAL_SYSTEM
case "${target_os}" in
solaris*)
- TARGET_CFLAGS="-mt -DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
+ TARGET_CFLAGS="-DSYS_SOLARIS9 -D_POSIX_PTHREAD_SEMANTICS"
+ if test "$GCC" != yes ; then
+ TARGET_CFLAGS="$TARGET_CFLAGS -mt"
+ fi
TARGET_LDFLAGS="-lpthread -lsocket -lnsl"
;;
*)