diff --git a/srcpkgs/openssl/template b/srcpkgs/openssl/template index c79d7f7fd03..d219ba37b31 100644 --- a/srcpkgs/openssl/template +++ b/srcpkgs/openssl/template @@ -39,7 +39,7 @@ do_install() make INSTALL_PREFIX=${DESTDIR} MANDIR=/usr/share/man install chmod 755 ${DESTDIR}/usr/lib/engines/*.so - for f _solib_ libssl.so libcrypto.so; do + for f in _solib_ libssl.so libcrypto.so; do chmod 755 ${DESTDIR}/usr/lib/${_solib_}.${_openssl_version} cd ${DESTDIR}/usr/lib && \ ln -sf ${_solib_}.${_openssl_version} ${_solib_}.1 && \