[SCM] libav/experimental: Simplify compilation call by using $(EXTRALIBS).

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:51:47 UTC 2013


The following commit has been merged in the experimental branch:
commit 7fe1cbd8140d82054cc3f2836d0a369edf8e5287
Author: Diego Biurrun <diego at biurrun.de>
Date:   Wed Oct 4 13:56:24 2006 +0000

    Simplify compilation call by using $(EXTRALIBS).
    
    Originally committed as revision 20038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

diff --git a/libswscale/Makefile b/libswscale/Makefile
index 1c08400..f39f7cb 100644
--- a/libswscale/Makefile
+++ b/libswscale/Makefile
@@ -23,7 +23,7 @@ HEADERS = swscale.h rgb2rgb.h
 include $(SRC_PATH)/common.mak
 
 cs_test: cs_test.c
-	$(CC) $(CFLAGS) -o $@ $^ -L. -lswscale -L$(SRC_PATH)/libavutil -lavutil -lm
+	$(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)
 
 swscale-example: swscale-example.c
-	$(CC) $(CFLAGS) -o $@ $^ -L. -lswscale -L$(SRC_PATH)/libavutil -lavutil -lm
+	$(CC) $(CFLAGS) -o $@ $^ -L. -lswscale $(EXTRALIBS)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list