While at it, also move the initial definition of
usesecurelib_exec_LTLIBRARIES into Makefile.am.
Also add "exec" to the target name which is recognized by automake to
mark the targets as architecture-specific.
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit
8c03e75c0b837f4285bd34f08eae40b48d3378be)
man_MANS =
pkgconfig_DATA =
usrlib_exec_LTLIBRARIES =
+usrsecurelib_exec_LTLIBRARIES =
bin_PROGRAMS =
sbin_PROGRAMS =
dist_usrbin_exec_SCRIPTS =
)
AC_SUBST([usrlib_execdir])
+usrsecurelib_execdir='${usrlib_execdir}/security'
+AC_SUBST([usrsecurelib_execdir])
+
# static configuration maintaned by packages (e.g. /usr/lib)
AC_ARG_VAR([SYSCONFSTATICDIR],
[Path to static system configuration, default ${prefix}/lib])
-securelibdir = $(libdir)/security
-securelib_LTLIBRARIES = pam_lastlog2.la
+usrsecurelib_exec_LTLIBRARIES += pam_lastlog2.la
pam_lastlog2_la_SOURCES = \
pam_lastlog2/src/pam_lastlog2.c