Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 1 | From 4f44617af3a0c59be267ac5fcc33586e3783f5e6 Mon Sep 17 00:00:00 2001 |
| 2 | From: Xi Ruoyao <xry111@mengyan1223.wang> |
| 3 | Date: Fri, 23 Jul 2021 14:38:08 +0800 |
| 4 | Subject: [PATCH] libsubid: link to PAM libraries |
| 5 | |
| 6 | libsubid.so links to libmisc.a, which contains several routines referring to |
| 7 | PAM functions. |
| 8 | |
| 9 | Upstream-Status: Backport [https://github.com/shadow-maint/shadow/commit/f4a84efb468b8be21be124700ce35159c444e9d6] |
| 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 11 | --- |
| 12 | libsubid/Makefile.am | 3 ++- |
| 13 | 1 file changed, 2 insertions(+), 1 deletion(-) |
| 14 | |
| 15 | diff --git a/libsubid/Makefile.am b/libsubid/Makefile.am |
| 16 | index cdc41fe6..99308c1f 100644 |
| 17 | --- a/libsubid/Makefile.am |
| 18 | +++ b/libsubid/Makefile.am |
| 19 | @@ -16,7 +16,8 @@ MISCLIBS = \ |
| 20 | $(LIBCRYPT) \ |
| 21 | $(LIBACL) \ |
| 22 | $(LIBATTR) \ |
| 23 | - $(LIBTCB) |
| 24 | + $(LIBTCB) \ |
| 25 | + $(LIBPAM) |
| 26 | |
| 27 | libsubid_la_LIBADD = \ |
| 28 | $(top_builddir)/lib/libshadow.la \ |
| 29 | -- |
| 30 | 2.31.1 |
| 31 | |