$OpenBSD: patch-mozilla_nsprpub_lib_tests_Makefile_in,v 1.2 2008/07/25 00:42:34 martynas Exp $ --- mozilla/nsprpub/lib/tests/Makefile.in.orig Sat Nov 17 18:00:44 2007 +++ mozilla/nsprpub/lib/tests/Makefile.in Sat Nov 17 18:09:23 2007 @@ -134,6 +134,12 @@ ifeq (,$(filter-out OpenBSD,$(OS_ARCH))) endif endif +ifeq ($(OS_ARCH), OpenBSD) + ifeq ($(USE_PTHREADS),1) + EXTRA_LIBS = -lpthread + endif +endif + ifeq ($(OS_ARCH), OSF1) LDOPTS += -rpath $(PWD)/$(dist_libdir) -lpthread endif