summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2009-03-10 14:56:50 +0000
committerAndreas Brachold <vdr07@deltab.de>2009-03-10 14:56:50 +0000
commitfff09fadc1cc79c0a84bc4119ce940eea1ba583f (patch)
tree1053e00ad0a4abbd33fc9dcb8c7950c37fa2b3b8
parent2ce9a803c448f9c8bb900e1b952fbed24feff5fb (diff)
downloadxxv-fff09fadc1cc79c0a84bc4119ce940eea1ba583f.tar.gz
xxv-fff09fadc1cc79c0a84bc4119ce940eea1ba583f.tar.bz2
* Add missing librarys if target use own defined directory (FFMDIR)
-rw-r--r--contrib/vdr2jpeg/Makefile8
1 files 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)