mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 12:30:06 +00:00
libnsl: Do not install libnsl.so, libnsl.a if NIS is disabled [BZ #22701]
This also skips building the .o files for libnsl.a. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
f172187b2d
commit
9a08a366a7
@ -1,3 +1,10 @@
|
||||
2018-01-12 Florian Weimer <fweimer@redhat.com>
|
||||
|
||||
[BZ #22701]
|
||||
* nis/Makefile (install-lib-ldscripts, $(inst_libdir)/libnsl.so):
|
||||
Prevent installation of libnsl.so.
|
||||
(libnsl-inhibit-o): Do not build (or install) static libraries.
|
||||
|
||||
2018-01-12 Rafal Luzynski <digitalfreak@lingonborough.com>
|
||||
Egmont Koblinger <egmont@gmail.com>
|
||||
|
||||
|
10
nis/Makefile
10
nis/Makefile
@ -68,7 +68,15 @@ libnss_nis-inhibit-o = $(filter-out .os,$(object-suffixes))
|
||||
libnss_nisplus-routines := $(addprefix nisplus-,$(databases)) nisplus-parser \
|
||||
nss-nisplus nisplus-initgroups
|
||||
libnss_nisplus-inhibit-o = $(filter-out .os,$(object-suffixes))
|
||||
endif
|
||||
|
||||
else # not $(build-obsolete-nsl)
|
||||
# Pretend that libnsl.so is a linker script, so that the symbolic link
|
||||
# is not installed.
|
||||
install-lib-ldscripts = libnsl.so
|
||||
$(inst_libdir)/libnsl.so:
|
||||
libnsl-inhibit-o = .o # Build no static libnsl.a.
|
||||
|
||||
endif # not $(build-obsolete-nsl)
|
||||
|
||||
include ../Rules
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user