projects
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Define HAVE_AV_CONFIG_H only when building libraries
[ffmpeg.git]
/
subdir.mak
diff --git
a/subdir.mak
b/subdir.mak
index
b67288a
..
db0d876
100644
(file)
--- a/
subdir.mak
+++ b/
subdir.mak
@@
-5,6
+5,8
@@
include $(SUBDIR)../common.mak
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
LIBVERSION := $(lib$(NAME)_VERSION)
LIBMAJOR := $(lib$(NAME)_VERSION_MAJOR)
+$(OBJS): CPPFLAGS += -DHAVE_AV_CONFIG_H
+
ifdef CONFIG_STATIC
all: $(SUBDIR)$(LIBNAME)
ifdef CONFIG_STATIC
all: $(SUBDIR)$(LIBNAME)