aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2008-04-09 21:11:35 +0000
committerMåns Rullgård <mans@mansr.com>2008-04-09 21:11:35 +0000
commit8a03404d4f15e2b8aefdeca9294f5c31d429ca75 (patch)
tree937a2f321f1c9a3eeb9c8a33a312dec320fa6a8a
parentcaec74dd659df1d5a4e34b8b44d8fc81d8ba2285 (diff)
downloadffmpeg-8a03404d4f15e2b8aefdeca9294f5c31d429ca75.tar.gz
fix build with --build-suffix
Originally committed as revision 12776 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r--Makefile2
-rw-r--r--subdir.mak2
2 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index cce125ce3f..228e8455cb 100644
--- a/Makefile
+++ b/Makefile
@@ -34,7 +34,7 @@ FF_LDFLAGS := $(FFLDFLAGS)
FF_EXTRALIBS := $(FFEXTRALIBS)
S := $(BUILD_SHARED:yes=S)
-DEP_LIBS := $(foreach L,$(FFLIBS),lib$(L)/$($(S)LIBPREF)$(L)$($(S)LIBSUF))
+DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(S)LIBNAME))
ALL_TARGETS-$(CONFIG_VHOOK) += videohook
ALL_TARGETS-$(BUILD_DOC) += documentation
diff --git a/subdir.mak b/subdir.mak
index 5b92f78566..f78d3cbdd3 100644
--- a/subdir.mak
+++ b/subdir.mak
@@ -34,7 +34,7 @@ $(SUBDIR)$(SLIBNAME_WITH_MAJOR): $(OBJS)
ifdef SUBDIR
$(SUBDIR)$(SLIBNAME_WITH_MAJOR): \
- $(foreach L,$(FFLIBS),lib$(L)/$(SLIBPREF)$(L)$(SLIBSUF))
+ $(foreach NAME,$(FFLIBS),lib$(NAME)/$(SLIBNAME))
endif
endif