]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
autotools: fix securedir and pam_lastlog2 install
authorKarel Zak <kzak@redhat.com>
Tue, 27 Aug 2024 10:00:21 +0000 (12:00 +0200)
committerKarel Zak <kzak@redhat.com>
Tue, 27 Aug 2024 10:00:21 +0000 (12:00 +0200)
Addresses: https://github.com/util-linux/util-linux/pull/3173
Signed-off-by: Karel Zak <kzak@redhat.com>
Makefile.am
configure.ac
pam_lastlog2/src/Makemodule.am

index c65af865cd964a74c4996160c4bf79f2f518d27b..44d000e78c35738eaef313ebc91bfc0d466c2004 100644 (file)
@@ -56,7 +56,7 @@ usrsbin_exec_PROGRAMS =
 man_MANS =
 pkgconfig_DATA =
 usrlib_exec_LTLIBRARIES =
-usrsecurelib_exec_LTLIBRARIES =
+securelib_exec_LTLIBRARIES =
 bin_PROGRAMS =
 sbin_PROGRAMS =
 dist_usrbin_exec_SCRIPTS =
@@ -155,11 +155,11 @@ EXTRA_DIST += \
 # pylibmountexec module must be installed after usrlib_exec libraries,
 # otherwise the libtool relink step will fail to find libmount.la and
 # will try -lmount which is possibly not available.
-# The same for usrsecurelib_exec and liblastlog2.la
+# The same for securelib_exec and liblastlog2.la
 #
 # So introduce this dependency rule:
 # install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES
-# install-usrsecurelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
+# install-securelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
 @verbatim_extra_dependency@
 
 #
index dfff0e8196acdabdbed2cb22e32c1b5cf2deae32..6d3976d3081b67a71287605464cbde8e1c736fa7 100644 (file)
@@ -120,8 +120,8 @@ AS_CASE([$libdir],
 )
 AC_SUBST([usrlib_execdir])
 
-usrsecurelib_execdir='${usrlib_execdir}/security'
-AC_SUBST([usrsecurelib_execdir])
+securelib_execdir='${libdir}/security'
+AC_SUBST([securelib_execdir])
 
 # static configuration maintained by packages (e.g. /usr/lib)
 AC_ARG_VAR([SYSCONFSTATICDIR],
@@ -2796,7 +2796,7 @@ verbatim_extra_dependency='
 # otherwise the libtool relink step will fail to find libmount.la and
 # will try -lmount which is possibly not available.
 install-pylibmountexecLTLIBRARIES: install-usrlib_execLTLIBRARIES
-install-usrsecurelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
+install-securelib_execLTLIBRARIES: install-usrlib_execLTLIBRARIES
 
 '
 AC_SUBST([verbatim_extra_dependency])
index e59bcb9d71c411e615aa2d7c737df8c4bac04d8e..40d597c58696e2b163559b38511df2ed84f3abe1 100644 (file)
@@ -1,4 +1,4 @@
-usrsecurelib_exec_LTLIBRARIES += pam_lastlog2.la
+securelib_exec_LTLIBRARIES += pam_lastlog2.la
 
 pam_lastlog2_la_SOURCES = \
        pam_lastlog2/src/pam_lastlog2.c