summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoerg Bornkessel <hd_brummy@gentoo.org>2014-05-30 21:25:35 +0200
committerJoerg Bornkessel <hd_brummy@gentoo.org>2014-05-30 21:25:35 +0200
commit2e417f06045deac4bcbd98903b424d7ec232c6d0 (patch)
tree1b42c5ecd73bc1d8f1590f0f22c2826e3240a711
parentadc6103d9a6c622d2aff8f50955702695f48be48 (diff)
downloadvdr-plugin-audiorecorder-2e417f06045deac4bcbd98903b424d7ec232c6d0.tar.gz
vdr-plugin-audiorecorder-2e417f06045deac4bcbd98903b424d7ec232c6d0.tar.bz2
defined ffmpeg/libavcodec include backup path for broken pkg-config install
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bc86b77..cdfde83 100644
--- a/Makefile
+++ b/Makefile
@@ -23,6 +23,9 @@ PLGCFG = $(call PKGCFG,plgcfg)
#
TMPDIR ?= /tmp
+# backup for broken libavcodec pkg-config
+FFMDIR ?= /usr/include
+
### The compiler options:
export CFLAGS = $(call PKGCFG,cflags)
@@ -60,7 +63,7 @@ endif
# ffmpeg
AVCODEC_INC = $(shell pkg-config libavcodec --cflags | sed -e 's/ //g')
ifeq ($(strip $(AVCODEC_INC)),)
- INCLUDES += -I$(FFMDIR) -I$(FFMDIR)/libavcodec
+ INCLUDES += -I$(FFMDIR)/libavcodec
else
INCLUDES += $(AVCODEC_INC)
endif