nss: install nss modules to ${rootlibdir}

NSS modules (libnss_*.so.*) need to be installed into
${rootlibdir} (typically /lib) in order to be used. Previously, the
modules were installed into ${libdir}, thus usually ending up in
/usr/lib, even on systems where split usr is enabled, or ${libdir} is
passed explicitly.

Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
This commit is contained in:
Maciek Borzecki 2016-09-20 21:24:45 +02:00
parent 21dc02277d
commit af0a10bfa1

View file

@ -157,6 +157,7 @@ nodist_zshcompletion_DATA = $(nodist_zshcompletion_data)
endif
udevlibexec_PROGRAMS =
gperf_gperf_sources =
rootlib_LTLIBRARIES =
in_files = $(filter %.in,$(EXTRA_DIST))
in_in_files = $(filter %.in.in, $(in_files))
@ -5056,7 +5057,7 @@ libnss_systemd_la_LIBADD = \
libsystemd-internal.la \
libbasic.la
lib_LTLIBRARIES += \
rootlib_LTLIBRARIES += \
libnss_systemd.la
# ------------------------------------------------------------------------------
@ -5078,7 +5079,7 @@ libnss_myhostname_la_LIBADD = \
libsystemd-internal.la \
libbasic.la
lib_LTLIBRARIES += \
rootlib_LTLIBRARIES += \
libnss_myhostname.la
endif
@ -5177,7 +5178,7 @@ libnss_mymachines_la_LIBADD = \
libsystemd-internal.la \
libbasic.la
lib_LTLIBRARIES += \
rootlib_LTLIBRARIES += \
libnss_mymachines.la
endif
@ -5476,7 +5477,7 @@ libnss_resolve_la_LIBADD = \
libbasic.la \
-ldl
lib_LTLIBRARIES += \
rootlib_LTLIBRARIES += \
libnss_resolve.la
systemd_resolve_SOURCES = \