summaryrefslogtreecommitdiff
path: root/subdir.mak
diff options
context:
space:
mode:
Diffstat (limited to 'subdir.mak')
-rw-r--r--subdir.mak2
1 files changed, 2 insertions, 0 deletions
diff --git a/subdir.mak b/subdir.mak
index b67288a4b7..db0d8763f7 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -5,6 +5,8 @@ include $(SUBDIR)../common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
+$(OBJS): CPPFLAGS += -DHAVE_AV_CONFIG_H
+
ifdef CONFIG_STATIC
all: $(SUBDIR)$(LIBNAME)