From: Thomas Weißschuh Date: Mon, 1 Apr 2024 20:53:32 +0000 (+0200) Subject: pam_lastlog2: link against liblastlog X-Git-Tag: archive/raspbian/2.40.2-8+rpi1~1^2^2^2^2^2^2^2^2^2~16 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=145509bed6e66817399aeeb59c2f0b70781a986e;p=util-linux.git pam_lastlog2: link against liblastlog While at it also drop the duplicated include path. Fixes #2897 Signed-off-by: Thomas Weißschuh (cherry picked from commit 2722b40012740372daf3585b7c071fcbede13359) Gbp-Pq: Topic upstream Gbp-Pq: Name pam_lastlog2-link-against-liblastlog.patch --- diff --git a/pam_lastlog2/src/Makemodule.am b/pam_lastlog2/src/Makemodule.am index 9884416..f9a9b6b 100644 --- a/pam_lastlog2/src/Makemodule.am +++ b/pam_lastlog2/src/Makemodule.am @@ -10,8 +10,9 @@ EXTRA_pam_lastlog2_la_DEPENDENCIES = \ pam_lastlog2_la_CFLAGS = \ $(AM_CFLAGS) \ $(SOLIB_CFLAGS) \ - -I$(ul_liblastlog2_incdir) \ - -Iliblastlog2/src + -I$(ul_liblastlog2_incdir) + +pam_lastlog2_la_LIBADD = liblastlog2.la pam_lastlog2_la_LDFLAGS = $(SOLIB_LDFLAGS) -module -avoid-version -shared if HAVE_VSCRIPT