diff options
author | Måns Rullgård <mans@mansr.com> | 2005-05-18 14:05:17 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2005-05-18 14:05:17 +0000 |
commit | 7919d97e6db122f6dbbaeddd0ce8a57812e3769a (patch) | |
tree | 7018dddfa590a1e152bc12e7257a745599ece651 /libavcodec/libpostproc | |
parent | 5cf08f2393901da6656b1ae499fb5960c101d750 (diff) | |
download | ffmpeg-7919d97e6db122f6dbbaeddd0ce8a57812e3769a.tar.gz |
fix shared libpostproc build
Originally committed as revision 4272 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/libpostproc')
-rw-r--r-- | libavcodec/libpostproc/Makefile | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/libavcodec/libpostproc/Makefile b/libavcodec/libpostproc/Makefile index bf074d7e15..958be44a76 100644 --- a/libavcodec/libpostproc/Makefile +++ b/libavcodec/libpostproc/Makefile @@ -5,7 +5,8 @@ VPATH=$(SRC_PATH)/libavcodec/libpostproc ifeq ($(SHARED_PP),yes) SPPLIB = $(SLIBPREF)postproc$(SLIBSUF) -SPPVERSION = 0.0.1 +SPPMAJOR = 0 +SPPVERSION = $(SPPMAJOR).0.1 endif PPLIB = $(LIBPREF)postproc$(LIBSUF) @@ -40,7 +41,7 @@ postprocess_pic.o: postprocess.c $(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -I.. -I../.. -o $@ $< $(SPPLIB): $(SPPOBJS) - $(CC) -shared -Wl,-soname,$(SPPLIB).0 \ + $(CC) -shared -Wl,-soname,$(SPPLIB).$(SPPMAJOR) \ -o $(SPPLIB) $(SPPOBJS) endif @@ -57,11 +58,12 @@ else install -d $(libdir) install $(INSTALLSTRIP) -m 755 $(SPPLIB) $(libdir)/$(SPPLIB).$(SPPVERSION) ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB) + ln -sf $(SPPLIB).$(SPPVERSION) $(libdir)/$(SPPLIB).$(SPPMAJOR) ldconfig || true endif endif mkdir -p $(prefix)/include/postproc - install -m 644 postprocess.h $(prefix)/include/postproc/postprocess.h + install -m 644 $(SRC_PATH)/libavcodec/libpostproc/postprocess.h $(prefix)/include/postproc/postprocess.h # |