diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-03-16 19:11:58 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-16 19:11:58 +0000 |
commit | cc973ecbe77ee6c273e2372ad24bb3aff0be5440 (patch) | |
tree | 148c53e54ae68a49e82f934828e66640d7cf6382 /libavformat | |
parent | 0e1ceacde98f912de8604ea7ebe321a1790bd4b6 (diff) | |
download | ffmpeg-cc973ecbe77ee6c273e2372ad24bb3aff0be5440.tar.gz |
add libdir support to configure patch by (Luca Barbato )lu_zero gentoo org)
Originally committed as revision 4050 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/Makefile b/libavformat/Makefile index 6ff36d1a5b..bdc0d67ff1 100644 --- a/libavformat/Makefile +++ b/libavformat/Makefile @@ -108,9 +108,9 @@ install: all install-headers ifeq ($(CONFIG_WIN32),yes) install $(INSTALLSTRIP) -m 755 $(SLIB) "$(prefix)" else - install -d $(prefix)/lib - install $(INSTALLSTRIP) -m 755 $(SLIB) $(prefix)/lib/libavformat-$(VERSION).so - ln -sf libavformat-$(VERSION).so $(prefix)/lib/libavformat.so + install -d $(libdir) + install $(INSTALLSTRIP) -m 755 $(SLIB) $(libdir)/libavformat-$(VERSION).so + ln -sf libavformat-$(VERSION).so $(libdir)/libavformat.so ldconfig || true endif else @@ -118,7 +118,7 @@ install: endif installlib: all install-headers - install -m 644 $(LIB) "$(prefix)/lib" + install -m 644 $(LIB) "$(libdir)" install-headers: mkdir -p "$(prefix)/include/ffmpeg" |