aboutsummaryrefslogtreecommitdiffstats
path: root/subdir.mak
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-03-07 22:18:33 +0000
committerMåns Rullgård <mans@mansr.com>2010-03-07 22:18:33 +0000
commit72c2bdebcff5610741d6e89cb6066ba2a88f59ac (patch)
tree9e6b4145c18214a768c8ec9097d6ed927ae0d678 /subdir.mak
parentacd0026c0b7ee0f73339ab3b71b34b3b513ee0de (diff)
downloadffmpeg-72c2bdebcff5610741d6e89cb6066ba2a88f59ac.tar.gz
Define HAVE_AV_CONFIG_H only when building libraries
Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk
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)