From 92c093c1b5bf5593e5bb987499c5947834cd3ddc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Wed, 1 Apr 2009 00:53:28 +0000 Subject: [PATCH] Link tests/examples with -lfoo instead of libfoo.a Originally committed as revision 18296 to svn://svn.ffmpeg.org/ffmpeg/trunk --- subdir.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subdir.mak b/subdir.mak index 6b098cdb67..03c852a09e 100644 --- a/subdir.mak +++ b/subdir.mak @@ -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 $$@ $$^ -- GitLab