Commit 9485b13f authored by mru's avatar mru

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

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18296 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 72bf59f6
......@@ -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 $$@ $$^
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment