]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
nss: install nss modules to ${rootlibdir}
authorMaciek Borzecki <maciek.borzecki@gmail.com>
Tue, 20 Sep 2016 19:24:45 +0000 (21:24 +0200)
committerMaciek Borzecki <maciek.borzecki@gmail.com>
Wed, 21 Sep 2016 07:00:11 +0000 (09:00 +0200)
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>
Makefile.am

index 946af196f31b65865c5c5b6a7f6b19cae0b277a2..ed14610893041b7098a9278f4c814c06205c7ea9 100644 (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 = \