Replace -I.. by -I$(BUILD_ROOT).
authorDiego Biurrun <diego@biurrun.de>
Sat, 7 Oct 2006 09:23:09 +0000 (09:23 +0000)
committerDiego Biurrun <diego@biurrun.de>
Sat, 7 Oct 2006 09:23:09 +0000 (09:23 +0000)
Originally committed as revision 20094 to svn://svn.mplayerhq.hu/mplayer/trunk/libswscale

libswscale/Makefile

index 29abaeb..86b28d3 100644 (file)
@@ -7,8 +7,7 @@ LIBVERSION=$(SWSVERSION)
 LIBMAJOR=$(SWSMAJOR)
 endif
 
-# NOTE: -I.. is needed to include config.h
-CFLAGS=-I.. -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
+CFLAGS=-I$(BUILD_ROOT) -I$(SRC_PATH) -I$(SRC_PATH)/libavutil $(OPTFLAGS) \
        -DHAVE_AV_CONFIG_H -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE \
        -D_ISOC9X_SOURCE