diff options
author | ru <ru@FreeBSD.org> | 2007-10-01 18:22:32 +0000 |
---|---|---|
committer | ru <ru@FreeBSD.org> | 2007-10-01 18:22:32 +0000 |
commit | 0ea9576a4d3c8cec356445aa34c765471dc136ac (patch) | |
tree | 90e7bb1d3149059a948d4992dd3241a0069cdfe0 /usr.sbin/ngctl | |
parent | 62d48a1604c31ca3959932216d8b9735207c594d (diff) | |
download | FreeBSD-src-0ea9576a4d3c8cec356445aa34c765471dc136ac.zip FreeBSD-src-0ea9576a4d3c8cec356445aa34c765471dc136ac.tar.gz |
Always install libpthread.* symlinks if at least one of
the threading libraries is built. This simplifies the
logic in makefiles that need to check if the pthreads
support is present. It also fixes a bug where we would
build a threading library that we shouldn't have built:
for example, building with WITHOUT_LIBTHR and the default
value of DEFAULT_THREADING_LIB (libthr) would mistakenly
build the libthr library, but not install it.
Approved by: re (kensmith)
Diffstat (limited to 'usr.sbin/ngctl')
-rw-r--r-- | usr.sbin/ngctl/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/ngctl/Makefile b/usr.sbin/ngctl/Makefile index bd93699..cf17d2e 100644 --- a/usr.sbin/ngctl/Makefile +++ b/usr.sbin/ngctl/Makefile @@ -13,8 +13,7 @@ WARNS?= 3 NGCTL_NO_LIBEDIT= .endif -.if ${MK_LIBTHR} == "no" && \ - (${MACHINE_ARCH} == "sparc64" || ${MK_LIBPTHREAD} == "no") +.if ${MK_LIBTHR} == "no" && ${MK_LIBPTHREAD} == "no" NGCTL_NO_LIBEDIT= .endif |