Merge commit 'fbf77b5ac37bf2a807d8336450801d7aecf2e359'
[ffmpeg.git] / ffbuild / library.mak
index f85ee1e..a590a94 100644 (file)
@@ -97,8 +97,10 @@ uninstall-libs::
 
 uninstall-headers::
        $(RM) $(addprefix "$(INCINSTDIR)/",$(HEADERS) $(BUILT_HEADERS))
-       $(RM) "$(PKGCONFIGDIR)/lib$(FULLNAME).pc"
        -rmdir "$(INCINSTDIR)"
+
+uninstall-pkgconfig::
+       $(RM) "$(PKGCONFIGDIR)/lib$(FULLNAME).pc"
 endef
 
 $(eval $(RULES))