]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
pam_lastlog2: drop duplicate assignment pam_lastlog2_la_LDFLAGS
authorThomas Weißschuh <thomas@t-8ch.de>
Tue, 14 May 2024 19:38:52 +0000 (21:38 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Tue, 14 May 2024 19:38:52 +0000 (21:38 +0200)
The second assignment ends up on the linker/libtool commandline,
potentially confusing the tools.

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

index f9a9b6b41fb3316ebe0bd9f3cf63056726d6308c..bc932c4f2203f69736661e9fcdb16117373f4165 100644 (file)
@@ -16,7 +16,7 @@ pam_lastlog2_la_LIBADD = liblastlog2.la
 
 pam_lastlog2_la_LDFLAGS = $(SOLIB_LDFLAGS) -module -avoid-version -shared
 if HAVE_VSCRIPT
-pam_lastlog2_la_LDFLAGS += pam_lastlog2_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(top_srcdir)/pam_lastlog2/src/pam_lastlog2.sym
+pam_lastlog2_la_LDFLAGS += $(VSCRIPT_LDFLAGS),$(top_srcdir)/pam_lastlog2/src/pam_lastlog2.sym
 endif
 
 EXTRA_DIST += pam_lastlog2/src/pam_lastlog2.sym