diff options
author | linus <linus> | 2010-03-31 12:03:26 +0000 |
---|---|---|
committer | linus <linus@e88ac4ed-0b26-0410-9574-a7f39faa03bf> | 2010-03-31 12:03:26 +0000 |
commit | 4910a838b25586937a1c60555cb5ad2cea507798 (patch) | |
tree | 0a188ca7b4a6c99306d31537e2ee1c4ec832b6e0 | |
parent | c4da491a5ff5e6ccc825aa0a1b4d4bbad3e5b5d9 (diff) |
Backported from trunk: Pass `-pthread\' to gcc on Solaris.
git-svn-id: https://svn.testnett.uninett.no/radsecproxy/branches/release-1.3@540 e88ac4ed-0b26-0410-9574-a7f39faa03bf
-rw-r--r-- | configure.ac | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 8bde432..69647da 100644 --- 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" ;; |