[Ffmpeg-cvslog] CVS: ffmpeg/libavcodec/libpostproc Makefile, 1.21, 1.22

Måns Rullgård CVS mru
Wed May 18 16:05:19 CEST 2005


Update of /cvsroot/ffmpeg/ffmpeg/libavcodec/libpostproc
In directory mail:/var2/tmp/cvs-serv15773/libavcodec/libpostproc

Modified Files:
	Makefile 
Log Message:
fix shared libpostproc build


Index: Makefile
===================================================================
RCS file: /cvsroot/ffmpeg/ffmpeg/libavcodec/libpostproc/Makefile,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- Makefile	23 Mar 2005 14:10:22 -0000	1.21
+++ Makefile	18 May 2005 14:05:17 -0000	1.22
@@ -5,7 +5,8 @@
 
 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 @@
 	$(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 @@
 	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
 
 
 #





More information about the ffmpeg-cvslog mailing list