summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-05-09 23:05:12 +0200
committerClément Bœsch <ubitux@gmail.com>2012-05-12 17:59:41 +0200
commit9a19341e6e7965818898bf624dbf8d5bb418f3d3 (patch)
tree9d6480b271d6caaac4cf2e46eb10f9c1ef78e6e8 /doc
parent4522df52aa28f2e7f29d31b5225ba8c4f93565d1 (diff)
doc/examples: rename LDFLAGS to LDLIBS.
Diffstat (limited to 'doc')
-rw-r--r--doc/examples/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 3b70f66fb2..99c04ffda5 100644
--- a/doc/examples/Makefile
+++ b/doc/examples/Makefile
@@ -1,4 +1,4 @@
-# use pkg-config for getting CFLAGS abd LDFLAGS
+# use pkg-config for getting CFLAGS abd LDLIBS
FFMPEG_LIBS= libavdevice \
libavformat \
libavfilter \
@@ -7,7 +7,7 @@ FFMPEG_LIBS= libavdevice \
libavutil \
CFLAGS+=-Wall $(shell pkg-config --cflags $(FFMPEG_LIBS))
-LDFLAGS+=$(shell pkg-config --libs $(FFMPEG_LIBS))
+LDLIBS+=$(shell pkg-config --libs $(FFMPEG_LIBS))
EXAMPLES= decoding_encoding \
filtering_video \
@@ -18,7 +18,7 @@ EXAMPLES= decoding_encoding \
OBJS=$(addsuffix .o,$(EXAMPLES))
%: %.o
- $(CC) $< $(LDFLAGS) -o $@
+ $(CC) $< $(LDLIBS) -o $@
%.o: %.c
$(CC) $< $(CFLAGS) -c -o $@