From 7d5de3a8a354847ef00b71b034557a6cd1b2f496 Mon Sep 17 00:00:00 2001 From: deischen Date: Thu, 17 May 2007 04:54:35 +0000 Subject: Allow DEFAULT_THREAD_LIB to be set from /etc/src.conf. Submitted by: ru --- lib/libc_r/Makefile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'lib/libc_r') diff --git a/lib/libc_r/Makefile b/lib/libc_r/Makefile index f489f9f..1a5eb3b 100644 --- a/lib/libc_r/Makefile +++ b/lib/libc_r/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} == "libc_r") -SHLIBDIR?= /lib -.endif - .include +.if ${DEFAULT_THREAD_LIB} == "libc_r" +SHLIBDIR= /lib +.endif + LIB=c_r SHLIB_MAJOR= 6 CFLAGS+=-DPTHREAD_KERNEL -- cgit v1.1