summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2005-03-16 19:11:58 +0000
committerMichael Niedermayer <michaelni@gmx.at>2005-03-16 19:11:58 +0000
commitcc973ecbe77ee6c273e2372ad24bb3aff0be5440 (patch)
tree148c53e54ae68a49e82f934828e66640d7cf6382 /libavformat
parent0e1ceacde98f912de8604ea7ebe321a1790bd4b6 (diff)
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/Makefile8
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"