Skip to content
Snippets Groups Projects
Commit 92c093c1 authored by Måns Rullgård's avatar Måns Rullgård
Browse files

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

Originally committed as revision 18296 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent bdc2cc16
No related branches found
No related tags found
No related merge requests found
......@@ -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 $$@ $$^
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment