]> git.sesse.net Git - vlc/commitdiff
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 1673d7097c04c46cf4c826b8516a2aa703aa3483..6e23d10ebbdf2e10eb3653f9bbfc55b2057c3d0a 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