install libav(codec|format).pc/libpostproc.pc for pkg-config (original patch from...
[ffmpeg.git] / libavformat / Makefile
index a8bb611..3b1b143 100644 (file)
@@ -126,6 +126,8 @@ install-headers:
                 $(SRC_PATH)/libavformat/rtp.h $(SRC_PATH)/libavformat/rtsp.h \
                 $(SRC_PATH)/libavformat/rtspcodes.h \
                 "$(prefix)/include/ffmpeg"
+       install -d $(libdir)/pkgconfig
+       install -m 644 ../libavformat.pc $(libdir)/pkgconfig
 
 %.o: %.c
        $(CC) $(CFLAGS) -c -o $@ $<