1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-11-06 08:29:25 +02:00

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
This commit is contained in:
Luca Barbato
2005-03-16 19:11:58 +00:00
committed by Michael Niedermayer
parent 0e1ceacde9
commit cc973ecbe7
5 changed files with 22 additions and 13 deletions

View File

@@ -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"