[SCM] libav/experimental: build: export library dependencies in ${name}_FFLIBS
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Aug 10 16:03:14 UTC 2014
The following commit has been merged in the experimental branch:
commit afe176265480880e1f702c96a8ba434b0d88728b
Author: Janne Grunau <janne-libav at jannau.net>
Date: Thu May 15 18:11:19 2014 +0200
build: export library dependencies in ${name}_FFLIBS
Removes an ugly $(if) to avoid conflicts with $(FFLIBS-) in the
top-level MAkefile.
diff --git a/common.mak b/common.mak
index c17b5bf..9244fd3 100644
--- a/common.mak
+++ b/common.mak
@@ -8,7 +8,7 @@ all: all-yes
include $(SRC_PATH)/arch.mak
OBJS += $(OBJS-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 74a4df1..ccf437f 100755
--- a/configure
+++ b/configure
@@ -4604,7 +4604,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"
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list