]> git.sesse.net Git - vlc/blob - extras/contrib/src/Patches/libebml-svn-win32.patch
avcodec: blacklist WMV2 also, missed that codec previously
[vlc] / extras / contrib / src / Patches / libebml-svn-win32.patch
1 Index: make/linux/Makefile
2 ===================================================================
3 --- make/linux/Makefile (revision 1206)
4 +++ make/linux/Makefile (working copy)
5 @@ -36,9 +36,9 @@
6  DEBUGFLAGS=-g -DDEBUG
7  endif
8  
9 -ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
10 -$(error Please use the Makefile in ../mingw32)
11 -endif
12 +#ifneq (,$(shell $(CXX) -v 2>&1 | tail -n 1 | grep -i mingw))
13 +#$(error Please use the Makefile in ../mingw32)
14 +#endif
15  
16  CWD=$(shell pwd)
17  
18 Index: make/mingw32/Makefile
19 ===================================================================
20 --- make/mingw32/Makefile       (revision 1206)
21 +++ make/mingw32/Makefile       (working copy)
22 @@ -19,6 +19,8 @@
23  CXX  = g++.exe
24  CC   = gcc.exe
25  WINDRES = windres.exe
26 +AR = ar rcvu
27 +RANLIB = ranlib
28  RES  = 
29  SRC  = $(wildcard ../../src/*.cpp)
30  OBJ  = $(patsubst %.cpp,%.o,$(SRC))
31 @@ -47,8 +49,8 @@
32         rm -f .depend
33  
34  libebml.a: $(OBJ)
35 -       ar r $@ $(OBJ)
36 -       ranlib $@
37 +       $(AR) $@ $(OBJ)
38 +       $(RANLIB) $@
39  
40  libebml.dll: $(OBJ)
41         $(CXX) -shared -Wl,--export-all -Wl,--out-implib=$@.a -o $@ $(OBJ)