From cfda33cbadea66854b7ff0ebf9e55ee4572e923a Mon Sep 17 00:00:00 2001
From: Michael Niedermayer <michaelni@gmx.at>
Date: Thu, 5 Sep 2002 10:06:20 +0000
Subject: [PATCH] apiexample needs EXTRALIBS

Originally committed as revision 906 to svn://svn.ffmpeg.org/ffmpeg/trunk
---
 libavcodec/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavcodec/Makefile b/libavcodec/Makefile
index 07572d6dcb5..aecd34f28bc 100644
--- a/libavcodec/Makefile
+++ b/libavcodec/Makefile
@@ -130,7 +130,7 @@ distclean: clean
 
 # api example program
 apiexample: apiexample.c $(LIB)
-	$(CC) $(CFLAGS) -o $@ $< $(LIB) -lm
+	$(CC) $(CFLAGS) -o $@ $< $(LIB) $(EXTRALIBS) -lm
 
 # cpuid test
 cpuid_test: i386/cputest.c
-- 
GitLab