While at it also drop the duplicated include path.
Fixes #2897
Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
(cherry picked from commit
2722b40012740372daf3585b7c071fcbede13359)
Gbp-Pq: Topic upstream
Gbp-Pq: Name pam_lastlog2-link-against-liblastlog.patch
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