package/linux-pam: find libxcrypt through pkg-config
authorFabrice Fontaine <fontaine.fabrice@gmail.com>
Mon, 30 Aug 2021 16:05:58 +0000 (18:05 +0200)
committerYann E. MORIN <yann.morin.1998@free.fr>
Tue, 31 Aug 2021 08:39:45 +0000 (10:39 +0200)
commit2962697039c72583d1e57e2b61b6281896f5b761
tree8ccde1ac8f2b0c0f754b477e9f15365162280774
parentb8a1d969b91b99ab2bf74ecb41402d21fee59b25
package/linux-pam: find libxcrypt through pkg-config

Find libxcryt through pkg-config to avoid the following build failure:

/home/buildroot/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/riscv64-buildroot-linux-musl/10.2.0/../../../../riscv64-buildroot-linux-musl/bin/ld: .libs/passverify.o: in function `.L30':
passverify.c:(.text+0x368): undefined reference to `crypt_checksalt'

Fixes:
 - http://autobuild.buildroot.org/results/20b14e222b35c2d1269960075832b784ba81aa1a

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
package/linux-pam/0004-configure.ac-also-search-libcrypt-through-pkg-config.patch [new file with mode: 0644]