summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/Makefile b/lib/Makefile
index 44c1f6aac269..3e77e3faf4ae 100644
--- a/lib/Makefile
+++ b/lib/Makefile
@@ -82,6 +82,9 @@ _compat= compat
.if ${MACHINE_ARCH} == "amd64"
_libncp= libncp
_libsmb= libsmb
+.if !defined(NOLIBPTHREAD)
+_libpthread= libpthread
+.endif
.endif
.if ${MACHINE_ARCH} != "amd64" && ${MACHINE_ARCH} != "powerpc"