Commit 77117838 authored by diego's avatar diego

Add SLIB_UNINSTALL_EXTRA_COMMAND to uninstall the things installed via

SLIB_INSTALL_EXTRA_COMMAND.
patch by Dave Yeo, daveryeo telus net


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@10767 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb55a04a
......@@ -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::
......
......@@ -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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment