contrib/FLAC: Add flac's include directory at the start of our CFLAGS so bogus header...
authorChristophe Mutricy <xtophe@videolan.org>
Sat, 17 Feb 2007 19:00:20 +0000 (19:00 +0000)
committerChristophe Mutricy <xtophe@videolan.org>
Sat, 17 Feb 2007 19:00:20 +0000 (19:00 +0000)
asm seems to work for win32 now

extras/contrib/src/Makefile

index 59387e1..fe6bfb2 100644 (file)
@@ -710,7 +710,7 @@ endif
 
 .FLAC: flac 
 ifdef HAVE_WIN32
-       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-oggtest --disable-asm-optimizations && cd src&& make -C libFLAC&& make -C libFLAC install  && cd .. && make -C include install)
+       (cd $<; $(HOSTCC) CFLAGS="-I$(PREFIX)/src/flac/include $${CFLAGS}" ./configure $(HOSTCONF) --prefix=$(PREFIX) --disable-oggtest && cd src&& make -C libFLAC&& make -C libFLAC install  && cd .. && make -C include install)
 else
 ifdef HAVE_DARWIN_OS
 ifeq ($(HOST),i686-apple-darwin8)