summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-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