diff options
Diffstat (limited to 'devel/apr2/files/patch-apr_hints.m4')
-rw-r--r-- | devel/apr2/files/patch-apr_hints.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/apr2/files/patch-apr_hints.m4 b/devel/apr2/files/patch-apr_hints.m4 index 7c8f8547efff..9e01ac75f936 100644 --- a/devel/apr2/files/patch-apr_hints.m4 +++ b/devel/apr2/files/patch-apr_hints.m4 @@ -16,7 +16,7 @@ - APR_ADDTO(CPPFLAGS, [-D_REENTRANT -D_THREAD_SAFE]) + if test $os_version -lt "500016"; then + ac_cv_pthreads_cflags="-D_THREAD_SAFE -D_REENTRANT" -+ APR_ADDTO(LIBS, [-pthread]) ++ LIBS="$LIBS -pthread" + else + ac_cv_pthreads_lib="c_r" + fi |