From 7fe1cbd8140d82054cc3f2836d0a369edf8e5287 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Wed, 4 Oct 2006 13:56:24 +0000 Subject: [PATCH] Simplify compilation call by using $(EXTRALIBS). Originally committed as revision 20038 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale --- libswscale/Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libswscale/Makefile b/libswscale/Makefile index 1c08400d0a..f39f7cbd47 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)