diff options
author | Måns Rullgård <mans@mansr.com> | 2006-11-08 00:02:15 +0000 |
---|---|---|
committer | Måns Rullgård <mans@mansr.com> | 2006-11-08 00:02:15 +0000 |
commit | 997baf014130b85828d918cb4054c17e57a8e1e5 (patch) | |
tree | a64707d3b0e8f9450ea0b68639730fd795310a87 /common.mak | |
parent | 94b594c68ae36848605766c84771674ef7b21bc9 (diff) | |
download | ffmpeg-997baf014130b85828d918cb4054c17e57a8e1e5.tar.gz |
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
Diffstat (limited to 'common.mak')
-rw-r--r-- | common.mak | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/common.mak b/common.mak index d045c0895d..cecb48897d 100644 --- a/common.mak +++ b/common.mak @@ -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 |