mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
allow spaces in source and build directory names
out of tree builds from a source dir with spaces is impossible due to how make handles vpath Originally committed as revision 6938 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@ -2,8 +2,8 @@
|
||||
# common bits used by all libraries
|
||||
#
|
||||
|
||||
SRC_DIR = $(SRC_PATH)/lib$(NAME)
|
||||
VPATH = $(SRC_DIR)
|
||||
VPATH = $(SRC_PATH_BARE)/lib$(NAME)
|
||||
SRC_DIR = "$(VPATH)"
|
||||
|
||||
CFLAGS += -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
|
||||
-D_ISOC9X_SOURCE -I$(BUILD_ROOT) -I$(SRC_PATH) \
|
||||
@ -78,7 +78,7 @@ install-lib-static: $(LIB)
|
||||
install-headers:
|
||||
install -d "$(incdir)"
|
||||
install -d "$(libdir)/pkgconfig"
|
||||
install -m 644 $(addprefix "$(SRC_DIR)"/,$(HEADERS)) "$(incdir)"
|
||||
install -m 644 $(addprefix $(SRC_DIR)/,$(HEADERS)) "$(incdir)"
|
||||
install -m 644 $(BUILD_ROOT)/lib$(NAME).pc "$(libdir)/pkgconfig"
|
||||
|
||||
uninstall: uninstall-libs uninstall-headers
|
||||
|
Reference in New Issue
Block a user