google-authenticator-failed-to-use-libqrencode - use libqrencode 4

This commit is contained in:
Sander Hollaar 2018-06-21 19:52:58 +02:00
parent 3da395fd96
commit fac82deb6e

View File

@ -13,7 +13,7 @@ stdenv.mkDerivation rec {
buildInputs = [ pam ];
preConfigure = ''
sed -i "s|libqrencode.so.3|${qrencode}/lib/libqrencode.so.3|" src/google-authenticator.c
sed -i "s|libqrencode.so.4|${qrencode}/lib/libqrencode.so.4|" src/google-authenticator.c
'';
installPhase = ''