[FFmpeg-devel] [PATCH] Fix compilation in subdir with NASM.

Reimar Döffinger Reimar.Doeffinger at gmx.de
Fri Jun 24 10:04:49 CEST 2011


---
 common.mak |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/common.mak b/common.mak
index 7c03e48..8dc6e95 100644
--- a/common.mak
+++ b/common.mak
@@ -26,7 +26,8 @@ $(foreach VAR,$(SILENT),$(eval override $(VAR) = @$($(VAR))))
 $(eval INSTALL = @$(call ECHO,INSTALL,$$(^:$(SRC_DIR)/%=%)); $(INSTALL))
 endif
 
-IFLAGS   := -I. -I$(SRC_PATH)
+# NASM requires -I path terminated with /
+IFLAGS   := -I. -I$(SRC_PATH)/
 CPPFLAGS := $(IFLAGS) $(CPPFLAGS)
 CFLAGS   += $(ECFLAGS)
 YASMFLAGS += $(IFLAGS) -Pconfig.asm
-- 
1.7.5.4



More information about the ffmpeg-devel mailing list