summaryrefslogtreecommitdiff
path: root/libs/files/domc-library.patch
diff options
context:
space:
mode:
Diffstat (limited to 'libs/files/domc-library.patch')
-rw-r--r--libs/files/domc-library.patch11
1 files changed, 7 insertions, 4 deletions
diff --git a/libs/files/domc-library.patch b/libs/files/domc-library.patch
index 040467d..bed3fc8 100644
--- a/libs/files/domc-library.patch
+++ b/libs/files/domc-library.patch
@@ -41,8 +41,8 @@ diff -r -U3 domc-0.7.1/Makefile domc/Makefile
diff -r -U3 domc-0.7.1/Makefile.msvc domc/Makefile.msvc
--- domc-0.7.1/Makefile.msvc 2004-08-04 17:20:02.000000000 -0600
-+++ domc/Makefile.msvc 2004-08-31 18:30:01.061133229 -0600
-@@ -1,22 +1,26 @@
++++ domc/Makefile.msvc 2004-08-31 19:27:30.565550149 -0600
+@@ -1,22 +1,29 @@
!include <win32.mak>
-LIBMBA=..\libmba-0.8.9
-EXPAT=..\Expat-1.95.5
@@ -57,10 +57,13 @@ diff -r -U3 domc-0.7.1/Makefile.msvc domc/Makefile.msvc
OBJS=src\expatls.obj src\events.obj src\timestamp.obj src\dom.obj src\node.obj src\namednodemap.obj src\nodelist.obj src\wcwidth.obj
+# Debug flags
-+cflags=$(cflags) /MLd /GZ /Gm /ZI /Od /D_DEBUG
++# CFLAGS=$(cflags) /MLd /GZ /Gm /ZI /Od /D_DEBUG
-domc.dll: $(OBJS)
- $(link) /INCREMENTAL:NO /NOLOGO /LIBPATH:$(EXPAT)\Libs /LIBPATH:$(LIBMBA) /LIBPATH:$(ENCDEC) libexpat.lib libmba.lib encdec.lib /DEF:domc.def /OUT:domc.dll -entry:_DllMainCRTStartup@12 -dll $(OBJS)
++# Normal Flags
++CFLAGS=$(cflags) /ML
++
+all: domc.lib
+
+# domc.dll: $(OBJS)
@@ -71,7 +74,7 @@ diff -r -U3 domc-0.7.1/Makefile.msvc domc/Makefile.msvc
.c.obj:
- $(cc) $(cflags) /I$(EXPAT)\Source\lib /I$(ENCDEC)\src /I$(LIBMBA)\src /Fo$@ $*.c
-+ $(cc) $(cflags) /I$(LIBMBA)\src /Fo$@ $*.c
++ $(cc) $(CFLAGS) /I$(LIBMBA)\src /Fo$@ $*.c
clean:
del domc.dll domc.lib domc.exp $(OBJS)