contribs: fix dvdnav compilation with mingw gcc 4.x
authorRafaël Carré <funman@videolan.org>
Mon, 22 Oct 2007 01:32:11 +0000 (01:32 +0000)
committerRafaël Carré <funman@videolan.org>
Mon, 22 Oct 2007 01:32:11 +0000 (01:32 +0000)
extras/contrib/src/Makefile

index 1673d70..6e23d10 100644 (file)
@@ -1117,7 +1117,7 @@ libdvdnav: libdvdnav-$(LIBDVDNAV_VERSION).tar.bz2
 
 .dvdnav: libdvdnav .dvdcss
 ifdef HAVE_WIN32       
-       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --enable-static --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS) -Dssize_t=long" && make && make install)
+       (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --enable-static --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) && make && make install)
 else
        (cd $<; $(HOSTCC) ./configure $(HOSTCONF) --enable-static --prefix=$(PREFIX) --with-libdvdcss=$(PREFIX) CFLAGS="$(CFLAGS) -Dlseek64=lseek -Doff64_t=off_t" && make && make install)
 endif