diff options
author | Volker Moell <volker-ml@die-moells.de> | 2002-08-13 18:51:11 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2002-08-13 18:51:11 +0000 |
commit | c1325d18fff570a1a7a1845a876271b99534a5af (patch) | |
tree | 1978f6f5e217b31905523d589913c9a7d58d3ec0 /libavcodec/Makefile | |
parent | 1359c2d43e8b13f09ad46526261fe00d7834d411 (diff) | |
download | ffmpeg-c1325d18fff570a1a7a1845a876271b99534a5af.tar.gz |
patch by (Volker Moell <volker-ml at die-moells dot de>)
creating $(prefix)/bin and $(prefix)/lib
improved linking libavcodec.so -> libavcodec-$(VERSION).so
ldconfig does not rise an error on not beeing root when installing
Originally committed as revision 852 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/Makefile')
-rw-r--r-- | libavcodec/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/Makefile b/libavcodec/Makefile index 9c3c15286c..05072caecb 100644 --- a/libavcodec/Makefile +++ b/libavcodec/Makefile @@ -134,9 +134,10 @@ motion-test: motion_test.o $(LIB) install: all ifeq ($(BUILD_SHARED),yes) + install -d $(prefix)/lib install -s -m 755 $(SLIB) $(prefix)/lib/libavcodec-$(VERSION).so - ln -sf $(prefix)/lib/libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so - ldconfig + ln -sf libavcodec-$(VERSION).so $(prefix)/lib/libavcodec.so + ldconfig || true mkdir -p $(prefix)/include/ffmpeg install -m 644 avcodec.h $(prefix)/include/ffmpeg/avcodec.h install -m 644 common.h $(prefix)/include/ffmpeg/common.h |