projects
/
libradsec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Pass `-pthread' to gcc on Solaris.
[libradsec.git]
/
configure.ac
diff --git
a/configure.ac
b/configure.ac
index
c8dd005
..
7585a60
100644
(file)
--- a/
configure.ac
+++ b/
configure.ac
@@
-54,6
+54,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"
;;