[FFmpeg-cvslog] build: Add EXTRALIBS to TOOLS linker command

Diego Biurrun git at videolan.org
Sun Apr 9 20:17:57 EEST 2017


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Tue Nov 22 16:20:31 2016 +0100| [5d45fe7da972da528915fbdfe3dbf22eb2effd01] | committer: Diego Biurrun

build: Add EXTRALIBS to TOOLS linker command

EXTRALIBS contains general and platform-specific extra libraries
that should be part of all linker commands.

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

 Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile b/Makefile
index f5bbc8b626..5aa2ab4557 100644
--- a/Makefile
+++ b/Makefile
@@ -117,7 +117,7 @@ FF_STATIC_DEP_LIBS := $(STATIC_DEP_LIBS)
 all: $(AVPROGS)
 
 $(TOOLS): %$(EXESUF): %.o
-	$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $^ $(ELIBS)
+	$(LD) $(LDFLAGS) $(LDEXEFLAGS) $(LD_O) $^ $(EXTRALIBS) $(ELIBS)
 
 tools/cws2fws$(EXESUF): ELIBS = $(ZLIB)
 



More information about the ffmpeg-cvslog mailing list