openssl: fix do_install().

This commit is contained in:
Juan RP 2011-10-18 10:41:48 +02:00
parent 79ff75ff20
commit 86112df98c
1 changed files with 2 additions and 3 deletions

View File

@ -38,10 +38,9 @@ do_install()
{
make INSTALL_PREFIX=${DESTDIR} MANDIR=/usr/share/man install
chmod 755 ${DESTDIR}/usr/lib/lib{ssl,crypto}.so.${_openssl_version}
chmod 755 ${DESTDIR}/usr/lib/engines/*.so
for _solib_ in libssl.so libcrypto.so; do
for f _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 && \
ln -sf ${_solib_}.${_openssl_version} ${_solib_}