[FFmpeg-cvslog] doc/examples: rename LDFLAGS to LDLIBS.

Clément Bœsch git at videolan.org
Sat May 12 18:10:07 CEST 2012


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed May  9 23:05:12 2012 +0200| [9a19341e6e7965818898bf624dbf8d5bb418f3d3] | committer: Clément Bœsch

doc/examples: rename LDFLAGS to LDLIBS.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9a19341e6e7965818898bf624dbf8d5bb418f3d3
---

 doc/examples/Makefile |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/doc/examples/Makefile b/doc/examples/Makefile
index 3b70f66..99c04ff 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 $@



More information about the ffmpeg-cvslog mailing list