From 4d437893acf3013d5a155cc5d793fb32ee5e02d5 Mon Sep 17 00:00:00 2001 From: marcel Date: Sat, 27 Sep 2003 23:27:19 +0000 Subject: Relink libc_r.a, libc_r.so and libc_r_p.so from libthr to libkse. On ia64, where there's no libc_r at all, libkse is now the default thread library by virtue of these links. The reasons for this change are: 1. libkse is slated to become the default thread library anyway, 2. active development and maintenance is only present for libkse, 3. GNOME and KDE, both in the process of being supported on ia64, work better with KSE; even on ia64. --- lib/libpthread/Makefile | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/libpthread') diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index 3d7c890..38711b2 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -38,4 +38,16 @@ PRECIOUSLIB= yes .include "${.CURDIR}/sys/Makefile.inc" .include "${.CURDIR}/thread/Makefile.inc" +.if !defined(NOLIBC_R) +.if ${MACHINE_ARCH} == "ia64" +SYMLINKS+=lib${LIB}.a ${LIBDIR}/libc_r.a +.if !defined(NOPIC) +SYMLINKS+=lib${LIB}.so ${SHLIBDIR}/libc_r.so +.endif +.if !defined(NOPROFILE) +SYMLINKS+=lib${LIB}_p.a ${LIBDIR}/libc_r_p.a +.endif +.endif +.endif + .include -- cgit v1.1