diff options
author | Thomas Weißschuh <thomas@t-8ch.de> | 2024-04-01 22:53:32 +0200 |
---|---|---|
committer | Thomas Weißschuh <thomas@t-8ch.de> | 2024-04-01 22:53:32 +0200 |
commit | 2722b40012740372daf3585b7c071fcbede13359 (patch) | |
tree | efa23ee5c819da6a0a94ec585ffaea6608e4f5c8 | |
parent | 3f4857f7b5d6f21ebcd9dacba6df49bc79a5ca10 (diff) | |
download | util-linux-2722b40012740372daf3585b7c071fcbede13359.tar.gz |
pam_lastlog2: link against liblastlog
While at it also drop the duplicated include path.
Fixes #2897
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
-rw-r--r-- | pam_lastlog2/src/Makemodule.am | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pam_lastlog2/src/Makemodule.am b/pam_lastlog2/src/Makemodule.am index 988441676f..f9a9b6b41f 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 |