diff options
author | Måns Rullgård <mans@mansr.com> | 2009-05-20 10:24:59 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2009-05-20 10:24:59 +0000 |
commit | b4c80b649e72f394853a17966cfe501942bd2941 (patch) | |
tree | 0ae0465982b004149631b540245e231637045f24 | |
parent | a2ce9a9914fa364905990eadde9ba7c65db82c01 (diff) | |
download | ffmpeg-b4c80b649e72f394853a17966cfe501942bd2941.tar.gz |
Fix building from within subdirs
Originally committed as revision 18881 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | common.mak | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common.mak b/common.mak index 23907af9f2..293a05fb6c 100644 --- a/common.mak +++ b/common.mak @@ -71,7 +71,7 @@ EXAMPLES := $(addprefix $(SUBDIR),$(addsuffix -example$(EXESUF),$(EXAMPLES))) OBJS := $(addprefix $(SUBDIR),$(OBJS)) TESTPROGS := $(addprefix $(SUBDIR),$(addsuffix -test$(EXESUF),$(TESTPROGS))) -DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME)) +DEP_LIBS := $(foreach NAME,$(FFLIBS),$(BUILD_ROOT_REL)/lib$(NAME)/$($(BUILD_SHARED:yes=S)LIBNAME)) ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h)) checkheaders: $(filter-out %_template.ho,$(ALLHEADERS:.h=.ho)) |