From 75711f80413b23d9d5197d014e86c391d8dc4978 Mon Sep 17 00:00:00 2001 From: Amar Takhar Date: Fri, 4 Feb 2011 18:41:52 +0000 Subject: [PATCH] Add FFMPEG LDFLAGS to the reporter as now they're r equired to link libaegisub. It's not worth considering to split it until everything is moved over. Originally committed to SVN as r5286. --- aegisub/reporter/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aegisub/reporter/Makefile b/aegisub/reporter/Makefile index e294e16d9..1f69a5b2b 100644 --- a/aegisub/reporter/Makefile +++ b/aegisub/reporter/Makefile @@ -14,6 +14,10 @@ PRECOMPILED_HEADER_NAME=r_pre.h CXXFLAGS += -Iinclude $(CFLAGS_WX) -I../libaegisub/include LDFLAGS += $(LDFLAGS_WX) $(LDFLAGS_LIBCURL) -L../libaegisub -laegisub-3.0 $(LDFLAGS_UCHARDET) -Wl,-rpath ../libaegisub +ifeq (yes, $(HAVE_PROVIDER_FFMPEGSOURCE)) +LDFLAGS += $(LDFLAGS_LIBAVFORMAT) $(LDFLAGS_LIBAVCODEC) $(LDFLAGS_LIBSWSCALE) $(LDFLAGS_LIBAVUTIL) $(LDFLAGS_LIBPOSTPROC) +endif + #if PRECOMPILED_HEADER ## This doesn't depend on Makefile on purpose, you should already know what you're doing when using this. #r_pre.h.gch: r_pre.h