mirror of https://git.ffmpeg.org/ffmpeg.git
build: Move setting of SRC_DIR to the only place it is used
This commit is contained in:
parent
b4d24b471b
commit
7c22d0489f
|
@ -27,6 +27,7 @@ HEADERS += $(HEADERS-yes)
|
|||
|
||||
DEP_LIBS := $(foreach NAME,$(FFLIBS),lib$(NAME)/$($(CONFIG_SHARED:yes=S)LIBNAME))
|
||||
|
||||
SRC_DIR := $(SRC_PATH)/lib$(NAME)
|
||||
ALLHEADERS := $(subst $(SRC_DIR)/,$(SUBDIR),$(wildcard $(SRC_DIR)/*.h $(SRC_DIR)/$(ARCH)/*.h))
|
||||
SKIPHEADERS += $(ARCH_HEADERS:%=$(ARCH)/%) $(SKIPHEADERS-)
|
||||
SKIPHEADERS := $(SKIPHEADERS:%=$(SUBDIR)%)
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
SRC_DIR := $(SRC_PATH)/lib$(NAME)
|
||||
|
||||
include $(SRC_PATH)/common.mak
|
||||
|
||||
LIBVERSION := $(lib$(NAME)_VERSION)
|
||||
|
|
Loading…
Reference in New Issue