diff --git a/libs/js/nsprpub/configure b/libs/js/nsprpub/configure index e56f702124..bc91bc3d74 100755 --- a/libs/js/nsprpub/configure +++ b/libs/js/nsprpub/configure @@ -3449,6 +3449,7 @@ EOF *-freebsd*) if test -z "$USE_NSPR_THREADS"; then USE_PTHREADS=1 + LDFLAGS="$LDFLAGS -lpthread" fi cat >> confdefs.h <<\EOF #define XP_UNIX 1