From 03d7b4429720c8fe83c026a53ce6a2bf8d425ee7 Mon Sep 17 00:00:00 2001 From: brooks Date: Thu, 29 Nov 2007 21:49:08 +0000 Subject: To reduce the impact of possible removal of the syscalls required by libkse in FreeBSD 8.0, do not build or install static versions of libkse (i.e. libkse*.a) in the default case. Static versions will be built and installed if libthr is not built or if libkse is the default threading library. Discussed on: freebsd-arch MFC after: 3 days --- lib/libkse/Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'lib') diff --git a/lib/libkse/Makefile b/lib/libkse/Makefile index 8018ce5..a2b5ae8 100644 --- a/lib/libkse/Makefile +++ b/lib/libkse/Makefile @@ -10,12 +10,15 @@ .include -.if (${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no") && \ - ${SHLIBDIR} == "/usr/lib" +.if ${DEFAULT_THREAD_LIB} == "libkse" || ${MK_LIBTHR} == "no" +LIB=kse +.if ${SHLIBDIR} == "/usr/lib" SHLIBDIR= /lib .endif +.else +SHLIB=kse +.endif -LIB=kse SHLIB_MAJOR= 3 CFLAGS+=-DPTHREAD_KERNEL CFLAGS+=-I${.CURDIR}/../libc/include -I${.CURDIR}/thread \ -- cgit v1.1