aboutsummaryrefslogtreecommitdiffstats
path: root/common.mak
diff options
context:
space:
mode:
authorJanne Grunau <janne-libav@jannau.net>2014-05-01 13:18:57 +0200
committerJanne Grunau <janne-libav@jannau.net>2014-05-13 20:02:01 +0200
commit449511740f06a4675b0066730fa45cdb764ffafc (patch)
tree97b5e0b8ca32c3d3b0cb564c5c8f4a5de8f04fd3 /common.mak
parent9aa4592076d4dbb29d1198b0e258f9f85c0c00b5 (diff)
downloadffmpeg-449511740f06a4675b0066730fa45cdb764ffafc.tar.gz
build: handle library dependencies in configure
Instead of setting FFLIBS in each library Makefile configure exports FFLIBS-$library in config.mak.
Diffstat (limited to 'common.mak')
-rw-r--r--common.mak2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak
index ade9376191..cdcdc8a149 100644
--- a/common.mak
+++ b/common.mak
@@ -8,7 +8,7 @@ all: all-yes
include $(SRC_PATH)/arch.mak
OBJS += $(OBJS-yes)
-FFLIBS := $(FFLIBS-yes) $(FFLIBS)
+FFLIBS := $(FFLIBS-$(NAME)) $(FFLIBS-yes) $(FFLIBS)
TESTPROGS += $(TESTPROGS-yes)
LDLIBS = $(FFLIBS:%=%$(BUILDSUF))