[FFmpeg-cvslog] r18296 - trunk/subdir.mak

mru subversion
Wed Apr 1 02:53:28 CEST 2009


Author: mru
Date: Wed Apr  1 02:53:28 2009
New Revision: 18296

Log:
Link tests/examples with -lfoo instead of libfoo.a

Modified:
   trunk/subdir.mak

Modified: trunk/subdir.mak
==============================================================================
--- trunk/subdir.mak	Wed Apr  1 02:53:25 2009	(r18295)
+++ trunk/subdir.mak	Wed Apr  1 02:53:28 2009	(r18296)
@@ -20,7 +20,7 @@ INCINSTDIR := $(INCDIR)/lib$(NAME)
 
 define RULES
 $(SUBDIR)%$(EXESUF): $(SUBDIR)%.o
-	$(CC) $(FFLDFLAGS) -o $$@ $$^ $(SUBDIR)$(LIBNAME) $(FFEXTRALIBS)
+	$(CC) $(FFLDFLAGS) -o $$@ $$^ -l$(FULLNAME) $(FFEXTRALIBS)
 
 $(SUBDIR)%-test.o: $(SUBDIR)%.c
 	$(CC) $(CFLAGS) -DTEST -c -o $$@ $$^



More information about the ffmpeg-cvslog mailing list