diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | nis/Makefile | 3 |
2 files changed, 8 insertions, 1 deletions
@@ -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. diff --git a/nis/Makefile b/nis/Makefile index 01ec4dc..e7497f7 100644 --- a/nis/Makefile +++ b/nis/Makefile @@ -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) |