Link with -lpthread also in NetBSD

This commit is contained in:
Juan Jose Garcia Ripoll 2009-06-07 18:20:45 +02:00
parent b07a102495
commit 9044fdbf13
2 changed files with 2 additions and 0 deletions

1
src/aclocal.m4 vendored
View file

@ -257,6 +257,7 @@ case "${host_os}" in
;;
netbsd*)
thehost='netbsd'
THREAD_LIBS='-lpthread'
SHARED_LDFLAGS="-shared ${LDFLAGS}"
BUNDLE_LDFLAGS="-shared ${LDFLAGS}"
LDRPATH="-Wl,--rpath,~A"

1
src/configure vendored
View file

@ -4404,6 +4404,7 @@ case "${host_os}" in
;;
netbsd*)
thehost='netbsd'
THREAD_LIBS='-lpthread'
SHARED_LDFLAGS="-shared ${LDFLAGS}"
BUNDLE_LDFLAGS="-shared ${LDFLAGS}"
LDRPATH="-Wl,--rpath,~A"