diff options
Diffstat (limited to 'm4')
-rw-r--r-- | m4/ax_pthread.m4 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/m4/ax_pthread.m4 b/m4/ax_pthread.m4 index d383ad5c..e77541ce 100644 --- a/m4/ax_pthread.m4 +++ b/m4/ax_pthread.m4 @@ -162,6 +162,11 @@ case ${host_os} in darwin*) ax_pthread_flags="-pthread $ax_pthread_flags" ;; + netbsd*) + # use libc stubs, don't link against libpthread, to allow + # dynamic loading + ax_pthread_flags="" + ;; esac # Clang doesn't consider unrecognized options an error unless we specify |