diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/template/osf | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/template/osf b/src/template/osf index c2af2350e89..9d2d6b81c1c 100644 --- a/src/template/osf +++ b/src/template/osf @@ -5,4 +5,8 @@ fi THREAD_SUPPORT=yes NEED_REENTRANT_FUNCS=no # 4.0 2003-09-13 -THREAD_LIBS="-pthread" +if test "$GCC" = yes +then THREAD_LIBS="-pthread" +else THREAD_CPPFLAGS="-pthread" + THREAD_LIBS="-lpthread" +fi |