aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-05-20 03:33:30 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-05-20 03:33:30 +0200
commit9e6769d2dc7bb33a2317b85fb55239958119e78c (patch)
tree82baedf2c8b3d7a6ef6bd1d930e03afef2428ba9
parent447b988b53191238c3de402dd8729540f639d5ad (diff)
parentafe176265480880e1f702c96a8ba434b0d88728b (diff)
downloadffmpeg-9e6769d2dc7bb33a2317b85fb55239958119e78c.tar.gz
Merge commit 'afe176265480880e1f702c96a8ba434b0d88728b'
* commit 'afe176265480880e1f702c96a8ba434b0d88728b': build: export library dependencies in ${name}_FFLIBS Conflicts: common.mak Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--common.mak2
-rwxr-xr-xconfigure2
2 files changed, 2 insertions, 2 deletions
diff --git a/common.mak b/common.mak
index 18b5463d5b..a493792657 100644
--- a/common.mak
+++ b/common.mak
@@ -93,7 +93,7 @@ include $(SRC_PATH)/arch.mak
OBJS += $(OBJS-yes)
SLIBOBJS += $(SLIBOBJS-yes)
-FFLIBS := $(FFLIBS-$(if $(NAME),$(NAME),no)) $(FFLIBS-yes) $(FFLIBS)
+FFLIBS := $($(NAME)_FFLIBS) $(FFLIBS-yes) $(FFLIBS)
TESTPROGS += $(TESTPROGS-yes)
LDLIBS = $(FFLIBS:%=%$(BUILDSUF))
diff --git a/configure b/configure
index 1e3295e477..2a6a96b1f7 100755
--- a/configure
+++ b/configure
@@ -5396,7 +5396,7 @@ get_version(){
map 'get_version $v' $LIBRARY_LIST
-map 'eval echo "FFLIBS-${v}=\$${v}_deps" >> config.mak' $LIBRARY_LIST
+map 'eval echo "${v}_FFLIBS=\$${v}_deps" >> config.mak' $LIBRARY_LIST
print_program_libs(){
eval "program_libs=\$${1}_libs"