openssl: fix do_install().

This commit is contained in:
Juan RP 2011-10-18 10:41:48 +02:00
parent 79ff75ff20
commit 86112df98c

View file

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