summaryrefslogtreecommitdiffstats
path: root/lib/libkse
diff options
context:
space:
mode:
authordeischen <deischen@FreeBSD.org>2007-05-17 04:54:35 +0000
committerdeischen <deischen@FreeBSD.org>2007-05-17 04:54:35 +0000
commit7d5de3a8a354847ef00b71b034557a6cd1b2f496 (patch)
tree983bfcdbd19da220defa22060f802e67cfcdd9a8 /lib/libkse
parent5907a150d5e9ac5dbdae3755e2ea48c482dcff3c (diff)
downloadFreeBSD-src-7d5de3a8a354847ef00b71b034557a6cd1b2f496.zip
FreeBSD-src-7d5de3a8a354847ef00b71b034557a6cd1b2f496.tar.gz
Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf.
Submitted by: ru
Diffstat (limited to 'lib/libkse')
-rw-r--r--lib/libkse/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile
index dee03db..a698115 100644
--- a/lib/libkse/Makefile
+++ b/lib/libkse/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} == "libpthread")
-SHLIBDIR?= /lib
-.endif
-
.include <bsd.own.mk>
+.if ${DEFAULT_THREAD_LIB} == "libpthread"
+SHLIBDIR= /lib
+.endif
+
LIB=kse
SHLIB_MAJOR= 2
CFLAGS+=-DPTHREAD_KERNEL
OpenPOWER on IntegriCloud