summaryrefslogtreecommitdiffstats
path: root/lib/libthr/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/libthr/Makefile')
-rw-r--r--lib/libthr/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libthr/Makefile b/lib/libthr/Makefile
index d0a3dc8..ca77af9 100644
--- a/lib/libthr/Makefile
+++ b/lib/libthr/Makefile
@@ -8,12 +8,12 @@
# (for system call stubs) to CFLAGS below. -DSYSLIBC_SCCS affects just the
# system call stubs.
-.if !defined(DEFAULT_THREAD_LIB) || (${DEFAULT_THREAD_LIB} == "libthr")
-SHLIBDIR?= /lib
-.endif
-
.include <bsd.own.mk>
+.if ${DEFAULT_THREAD_LIB} == "libthr"
+SHLIBDIR= /lib
+.endif
+
LIB=thr
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL
OpenPOWER on IntegriCloud