Mercurial > libavcodec.hg
changeset 2711:3ba3640bae2a libavcodec
install libav(codec|format).pc/libpostproc.pc for pkg-config (original patch from <j at v2v.cc>)
author | aurel |
---|---|
date | Thu, 19 May 2005 00:17:50 +0000 |
parents | b71d3566fc6d |
children | 9c1a436dac6b |
files | Makefile libpostproc/Makefile |
diffstat | 2 files changed, 4 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed May 18 19:42:42 2005 +0000 +++ b/Makefile Thu May 19 00:17:50 2005 +0000 @@ -478,6 +478,8 @@ $(SRC_PATH)/libavcodec/common.h \ $(SRC_PATH)/libavcodec/rational.h \ "$(prefix)/include/ffmpeg" + install -d $(libdir)/pkgconfig + install -m 644 ../libavcodec.pc $(libdir)/pkgconfig # # include dependency files if they exist
--- a/libpostproc/Makefile Wed May 18 19:42:42 2005 +0000 +++ b/libpostproc/Makefile Thu May 19 00:17:50 2005 +0000 @@ -59,6 +59,8 @@ install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(libdir)/$(SPPLIB).$(SPPVERSION) ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB) ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB).$(SPPMAJOR) + install -d $(libdir)/pkgconfig + install -m 644 ../../libpostproc.pc $(libdir)/pkgconfig ldconfig || true endif endif