diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-08-29 21:15:57 +0200 |
---|---|---|
committer | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2021-08-30 13:34:49 +0200 |
commit | 49e3ffcbe267691dfbf24c91417aa296e7412146 (patch) | |
tree | 7d6e8f032441f85a896e537dcd41e69a6de7c19d /modules/pam_pwhistory | |
parent | 470823c4aacef5cb3b1180be6ed70846b61a3752 (diff) | |
download | pam-49e3ffcbe267691dfbf24c91417aa296e7412146.tar.gz pam-49e3ffcbe267691dfbf24c91417aa296e7412146.tar.bz2 pam-49e3ffcbe267691dfbf24c91417aa296e7412146.zip |
configure.ac: also search libcrypt through pkg-config
libxcrypt provides a libcrypt.pc file so use it if available as this
will allow to retrieve the library path (e.g.
-L/home/buildroot/output/host//riscv64-buildroot-linux-musl/sysroot/usr/lib)
which is useful when cross-compiling and will avoid the following build
failure on buildroot:
/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>
Diffstat (limited to 'modules/pam_pwhistory')
0 files changed, 0 insertions, 0 deletions