summaryrefslogtreecommitdiffstats
path: root/postproc
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2002-10-31 10:21:44 +0000
committerMichael Niedermayer <michaelni@gmx.at>2002-10-31 10:21:44 +0000
commit1609f6680cfaa63ae0e5524ce9ba9af617a604fb (patch)
tree8f5c2c02f301ed3b1ca7d50bb786bbee6665231e /postproc
parentf9745d55e6f6bceac52ad71dab19432a70e30a99 (diff)
downloadffmpeg-streaming-1609f6680cfaa63ae0e5524ce9ba9af617a604fb.zip
ffmpeg-streaming-1609f6680cfaa63ae0e5524ce9ba9af617a604fb.tar.gz
disabling compilation of .so if its not needed, gcc 3.1 seems to have problems with it
Originally committed as revision 7995 to svn://svn.mplayerhq.hu/mplayer/trunk/postproc
Diffstat (limited to 'postproc')
-rw-r--r--postproc/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/postproc/Makefile b/postproc/Makefile
index b1e5940..457e2d1 100644
--- a/postproc/Makefile
+++ b/postproc/Makefile
@@ -2,8 +2,10 @@
include ../config.mak
SWSLIB = libswscale.a
+ifeq ($(SHARED_PP),yes)
SPPLIB = libpostproc.so
SPPVERSION = 0.0.1
+endif
PPLIB = libpostproc.a
SWSSRCS=swscale.c rgb2rgb.c yuv2rgb.c
@@ -41,13 +43,15 @@ depend:
cs_test: $(CS_TEST_OBJS)
$(CC) $(CS_TEST_OBJS) -o cs_test
+ifeq ($(SHARED_PP),yes)
postprocess_pic.o: postprocess.c
$(CC) -c $(CFLAGS) -fomit-frame-pointer -fPIC -DPIC -o $@ $<
$(SPPLIB): $(SPPOBJS)
$(CC) -shared -Wl,-soname,$(SPPLIB).0 \
-o $(SPPLIB) $(SPPOBJS)
-
+endif
+
$(PPLIB): $(PPOBJS)
$(AR) r $(PPLIB) $(PPOBJS)
OpenPOWER on IntegriCloud