From 72c2bdebcff5610741d6e89cb6066ba2a88f59ac Mon Sep 17 00:00:00 2001 From: Måns Rullgård Date: Sun, 7 Mar 2010 22:18:33 +0000 Subject: Define HAVE_AV_CONFIG_H only when building libraries Originally committed as revision 22294 to svn://svn.ffmpeg.org/ffmpeg/trunk --- subdir.mak | 2 ++ 1 file changed, 2 insertions(+) (limited to 'subdir.mak') 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) -- cgit v1.2.3