diff options
author | Ruslan Ermilov <ru@FreeBSD.org> | 2007-10-01 18:22:32 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@FreeBSD.org> | 2007-10-01 18:22:32 +0000 |
commit | 152f2a4a96fd82ea013f6602e97ce3c2f0f46d08 (patch) | |
tree | 90e7bb1d3149059a948d4992dd3241a0069cdfe0 /usr.bin/Makefile | |
parent | 0376869747dd89eb79ae1de8465721d42ae07d66 (diff) | |
download | src-152f2a4a96fd82ea013f6602e97ce3c2f0f46d08.tar.gz src-152f2a4a96fd82ea013f6602e97ce3c2f0f46d08.zip |
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)
Notes
Notes:
svn path=/head/; revision=172403
Diffstat (limited to 'usr.bin/Makefile')
-rw-r--r-- | usr.bin/Makefile | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.bin/Makefile b/usr.bin/Makefile index 75c6af754d03..90cab4c7e5f9 100644 --- a/usr.bin/Makefile +++ b/usr.bin/Makefile @@ -260,8 +260,7 @@ _calendar= calendar .if ${MK_OPENSSL} != "no" _chkey= chkey _newkey= newkey -.if ${MK_LIBTHR} != "no" || \ - (${MACHINE_ARCH} != "sparc64" && ${MK_LIBPTHREAD} != "no") +.if ${MK_LIBTHR} != "no" || ${MK_LIBPTHREAD} != "no" _csup= csup .endif .endif |