summaryrefslogtreecommitdiffstats
path: root/lib/compat/compat22/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lib/compat/compat22/Makefile')
-rw-r--r--lib/compat/compat22/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/compat/compat22/Makefile b/lib/compat/compat22/Makefile
index 94457f3..f919517 100644
--- a/lib/compat/compat22/Makefile
+++ b/lib/compat/compat22/Makefile
@@ -32,6 +32,7 @@ beforeinstall:
@${ECHO} "libtermlib.so.2.1 -> libtermcap.so.2.1" ; \
cd ${DESTDIR}${LIBCOMPATDIR}/aout ; \
ln -sf libtermcap.so.2.1 libtermlib.so.2.1
+ rm -f ${LIBS:S@^@${DESTDIR}${SHLIBDIR}/@}
# Get all the fruit, even though we don't set PROG.
# XXX bsd.lib.mk has fruitflies, e.g., it fails if LIBS is empty.
OpenPOWER on IntegriCloud