Mercurial > libavcodec.hg
changeset 2564:ad15cccd015f libavcodec
add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
author | michael |
---|---|
date | Wed, 16 Mar 2005 19:11:58 +0000 |
parents | 1e52ef4887b5 |
children | e7f2b8fadfb0 |
files | Makefile libpostproc/Makefile |
diffstat | 2 files changed, 7 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile Wed Mar 16 13:09:30 2005 +0000 +++ b/Makefile Wed Mar 16 19:11:58 2005 +0000 @@ -302,9 +302,9 @@ ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)" else - install -d $(prefix)/lib - install $(INSTALLSTRIP) -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so - ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so + install -d $(libdir) + install $(INSTALLSTRIP) -m 755 $(SLIB) $(libdir)/libavcodec-$(VERSION).so + ln -sf libavcodec-$(VERSION).so $(libdir)/libavcodec.so ldconfig || true endif ifeq ($(CONFIG_PP),yes) @@ -315,7 +315,7 @@ endif installlib: all install-headers - install -m 644 $(LIB) "$(prefix)/lib" + install -m 644 $(LIB) "$(libdir)" install-headers: mkdir -p "$(prefix)/include/ffmpeg"
--- a/libpostproc/Makefile Wed Mar 16 13:09:30 2005 +0000 +++ b/libpostproc/Makefile Wed Mar 16 19:11:58 2005 +0000 @@ -54,9 +54,9 @@ ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SPPLIB) "$(prefix)" else - install -d $(prefix)/lib - install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(prefix)/lib/$(SPPLIB).$(SPPVERSION) - ln -sf $(SPPLIB).$(SPPVERSION) $(prefix)/lib/$(SPPLIB) + install -d $(libdir) + install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(libdir)/$(SPPLIB).$(SPPVERSION) + ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB) ldconfig || true endif endif