Browse Source

avformat/output-example: Declare link dependency on libswscale in the Makefile

tags/n2.1
Diego Biurrun 12 years ago
parent
commit
47b6cfc2a0
2 changed files with 3 additions and 1 deletions
  1. +2
    -1
      common.mak
  2. +1
    -0
      libavformat/Makefile

+ 2
- 1
common.mak View File

@@ -25,7 +25,8 @@ TOOLOBJS := $(TOOLS:%=tools/%.o)
TOOLS := $(TOOLS:%=tools/%$(EXESUF))
HEADERS += $(HEADERS-yes)

DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
PATH_LIBNAME = $(foreach NAME,$(1),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
DEP_LIBS := $(foreach lib,$(FFLIBS),$(call PATH_LIBNAME,$(lib)))

SRC_DIR := $(SRC_PATH)/lib$(NAME)
ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))


+ 1
- 0
libavformat/Makefile View File

@@ -400,3 +400,4 @@ TOOLS = aviocat \
probetest \

$(SUBDIR)output-example$(EXESUF): ELIBS = $(patsubst %,$(LD_LIB),swscale avutil)
$(SUBDIR)output-example$(EXESUF): $(call PATH_LIBNAME,swscale)

Loading…
Cancel
Save