changeset 607:5762b2d659d2 libavcodec

darwin patches by Heliodoro Tammaro <helio at interactives dot org>
author michaelni
date Wed, 21 Aug 2002 19:18:02 +0000
parents 72d9661683f2
children 98e39397636b
files Makefile
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Tue Aug 20 19:23:06 2002 +0000
+++ b/Makefile	Wed Aug 21 19:18:02 2002 +0000
@@ -82,7 +82,7 @@
 
 $(LIB): $(OBJS)
 	rm -f $@
-	$(AR) rc $@ $(OBJS)
+	$(AR) rcs $@ $(OBJS)
 
 $(SLIB): $(OBJS)
 	$(CC) $(SHFLAGS) -o $@ $(OBJS) $(EXTRALIBS)
@@ -127,7 +127,7 @@
 
 dct-test: dct-test.o jfdctfst.o i386/fdct_mmx.o \
           fdctref.o jrevdct.o i386/idct_mmx.o
-	$(CC) -o $@ $^
+	$(CC) -o $@ $^ -lm
 
 motion-test: motion_test.o $(LIB)
 	$(CC) -o $@ $^