]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pam_lastlog2: link against liblastlog
authorThomas Weißschuh <thomas@t-8ch.de>
Mon, 1 Apr 2024 20:53:32 +0000 (22:53 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Mon, 1 Apr 2024 20:53:32 +0000 (22:53 +0200)
While at it also drop the duplicated include path.

Fixes #2897
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
pam_lastlog2/src/Makemodule.am

index 988441676f713c09ed49301e8ffa6fddf16d1998..f9a9b6b41fb3316ebe0bd9f3cf63056726d6308c 100644 (file)
@@ -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