diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile index c93fc8f90b76..dad83d79b21e 100644 --- a/secure/lib/libcrypto/Makefile +++ b/secure/lib/libcrypto/Makefile @@ -206,9 +206,9 @@ INCSDIR= ${INCLUDEDIR}/openssl OLDSYMLINKS+= libdes.a libdes.so libdes.so.3 libdes_p.a afterinstall: @echo "Removing stale symlinks." - rm -f ${INCLUDEDIR}/des.h + rm -f ${DESTDIR}${INCLUDEDIR}/des.h .for symlink in ${OLDSYMLINKS} - rm -f ${LIBDIR}/${symlink} + rm -f ${DESTDIR}${LIBDIR}/${symlink} .endfor .include