From fff09fadc1cc79c0a84bc4119ce940eea1ba583f Mon Sep 17 00:00:00 2001 From: Andreas Brachold Date: Tue, 10 Mar 2009 14:56:50 +0000 Subject: * Add missing librarys if target use own defined directory (FFMDIR) --- contrib/vdr2jpeg/Makefile | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/contrib/vdr2jpeg/Makefile b/contrib/vdr2jpeg/Makefile index 81c728e..d62819b 100644 --- a/contrib/vdr2jpeg/Makefile +++ b/contrib/vdr2jpeg/Makefile @@ -2,14 +2,15 @@ # # Makefile -- for building vdr2jpeg # -# Copyright (c) 2005-2008 Andreas Brachold +# Copyright (c) 2005-2009 Andreas Brachold # # This code is distributed under the terms and conditions of the # GNU GENERAL PUBLIC LICENSE. See the file COPYING for details. # -# You can change the compile options here or create a Make.config +# You can change the compile options here +# or add options at own file Make.config # Build ffmpeg e.g. with ./configure --enable-shared --enable-swscale @@ -61,7 +62,8 @@ CXXFLAGS += -fPIC -Wall -Woverloaded-virtual ifdef FFMDIR INCLUDES += -I$(FFMDIR) -LIBS += -L$(FFMDIR)/libavformat -L$(FFMDIR)/libavcodec -L$(FFMDIR)/libavutil -L$(FFMDIR)/libswscale +LIBS += -L$(FFMDIR) -L$(FFMDIR)/libavformat -L$(FFMDIR)/libavcodec -L$(FFMDIR)/libavutil -L$(FFMDIR)/libswscale +LIBS += -lavformat -lavcodec -lavutil -lswscale else INCLUDES += $(shell $(PKG-CONFIG) --cflags libavformat libavcodec libavutil libswscale) LIBS += $(shell $(PKG-CONFIG) --libs libavformat libavcodec libavutil libswscale) -- cgit v1.2.3