Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ndctl: fix ndctl linking with libkeyutils
Compilation on Ubuntu 18.04 fails with: /usr/bin/ld: util/keys.o: undefined reference to symbol 'keyctl_read_alloc@@KEYUTILS_0.3' /lib/x86_64-linux-gnu/libkeyutils.so.1: error adding symbols: DSO missing from command line Seems like libkeyutils is incorrectly linked against libndctl, where in reality it's the ndctl application that uses keyutils. Fixes: 86b078b ("ndctl: add passphrase management commands") Cc: Dave Jiang <[email protected]> Signed-off-by: Piotr Balcer <[email protected]> Reviewed-by: Dave Jiang <[email protected]> Signed-off-by: Vishal Verma <[email protected]>
- Loading branch information