git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9a19341
)
doc/examples: link decoding_encoding and muxing with math lib.
author
Clément Bœsch
<ubitux@gmail.com>
Wed, 9 May 2012 21:06:43 +0000
(23:06 +0200)
committer
Clément Bœsch
<ubitux@gmail.com>
Sat, 12 May 2012 15:59:41 +0000
(17:59 +0200)
These two examples use the sin() function.
doc/examples/Makefile
patch
|
blob
|
history
diff --git
a/doc/examples/Makefile
b/doc/examples/Makefile
index
99c04ff
..
9bb68ae
100644
(file)
--- a/
doc/examples/Makefile
+++ b/
doc/examples/Makefile
@@
-17,6
+17,10
@@
EXAMPLES= decoding_encoding \
OBJS=$(addsuffix .o,$(EXAMPLES))
+# the following examples make explicit use of the math library
+decoding_encoding: LDLIBS += -lm
+muxing: LDLIBS += -lm
+
%: %.o
$(CC) $< $(LDLIBS) -o $@