summaryrefslogtreecommitdiff
path: root/libavcodec/Makefile
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 /libavcodec/Makefile
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 'libavcodec/Makefile')
-rw-r--r--libavcodec/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 9a9e770095..c15e2761c4 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -302,9 +302,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/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 @@ install:
endif
installlib: all install-headers
- install -m 644 $(LIB) "$(prefix)/lib"
+ install -m 644 $(LIB) "$(libdir)"
install-headers:
mkdir -p "$(prefix)/include/ffmpeg"