Build only shared libnsl objects if NIS is disabled (bug 22701)

This commit is contained in:
Andreas Schwab 2018-01-26 19:01:03 +01:00
parent caaf7804e2
commit 5503f413bf
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2018-01-26 Andreas Schwab <schwab@linux-m68k.org>
[BZ #22701]
* nis/Makefile (libnsl-inhibit-o) [$(build-obsolete-nsl) != yes]:
Build only shared objects.
2018-01-26 Carlos O'Donell <carlos@redhat.com>
* README: Update for hppa.

View File

@ -74,7 +74,8 @@ else # not $(build-obsolete-nsl)
# is not installed.
install-lib-ldscripts = libnsl.so
$(inst_libdir)/libnsl.so:
libnsl-inhibit-o = .o # Build no static libnsl.a.
# Build only shared libnsl.
libnsl-inhibit-o = $(filter-out .os,$(object-suffixes))
endif # not $(build-obsolete-nsl)