Add SLIB_UNINSTALL_EXTRA_COMMAND to uninstall the things installed via

SLIB_INSTALL_EXTRA_COMMAND.
patch by Dave Yeo, daveryeo telus net

Originally committed as revision 10767 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Dave Yeo 17 years ago committed by Diego Biurrun
parent ab54bff20a
commit 5b5d0491b5
  1. 1
      common.mak
  2. 1
      configure

@ -96,6 +96,7 @@ uninstall-libs:
-rm -f "$(SHLIBDIR)/$(SLIBNAME_WITH_MAJOR)" \
"$(SHLIBDIR)/$(SLIBNAME)" \
"$(SHLIBDIR)/$(SLIBNAME_WITH_VERSION)"
-$(SLIB_UNINSTALL_EXTRA_CMD)
-rm -f "$(LIBDIR)/$(LIB)"
uninstall-headers::

1
configure vendored

@ -1909,6 +1909,7 @@ if enabled shared; then
echo "SLIBNAME_WITH_MAJOR=${SLIBNAME_WITH_MAJOR}" >> config.mak
echo "SLIB_EXTRA_CMD=${SLIB_EXTRA_CMD}" >> config.mak
echo "SLIB_INSTALL_EXTRA_CMD=${SLIB_INSTALL_EXTRA_CMD}" >> config.mak
echo "SLIB_UNINSTALL_EXTRA_CMD=${SLIB_UNINSTALL_EXTRA_CMD}" >> config.mak
fi
echo "LIB_INSTALL_EXTRA_CMD=${LIB_INSTALL_EXTRA_CMD}" >> config.mak
echo "EXTRALIBS=$extralibs" >> config.mak

Loading…
Cancel
Save