From d87c7aea1c25ade98c6dfdfc543ad0a51d9c9dad Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Thu, 2 Dec 2004 18:22:57 +0000 Subject: Fixed windows build problems --- libs/files/domc-library.patch | 2 +- libs/files/libmba-library.patch | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'libs/files') diff --git a/libs/files/domc-library.patch b/libs/files/domc-library.patch index 3f24dda..d50e4ac 100644 --- a/libs/files/domc-library.patch +++ b/libs/files/domc-library.patch @@ -64,7 +64,7 @@ diff -r -U3 domc-0.8.0/Makefile.msvc domc/Makefile.msvc -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 ++CFLAGS=$(cflags) /ML /DLIBMBA_API=extern /DDOMC_API=extern + +all: domc.lib + diff --git a/libs/files/libmba-library.patch b/libs/files/libmba-library.patch index de26d5d..4b59985 100644 --- a/libs/files/libmba-library.patch +++ b/libs/files/libmba-library.patch @@ -38,7 +38,7 @@ diff -r -U3 libmba-0.8.10/Makefile.msvc libmba/Makefile.msvc # -#cflags=$(cflags) /Isrc /I$(EXPAT)\Source\lib /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO -#lflags=/nologo /dll /incremental:no -+cflags=$(cflags) /ML /Isrc /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_EXPORTS /DUSE_WCHAR /DMSGNO ++cflags=$(cflags) /ML /Isrc /DWIN32 /D_WINDOWS /DUNICODE /D_UNICODE /D_USRDLL /DLIBMBA_API=extern /DUSE_WCHAR /DMSGNO +lflags=/nologo /dll /incremental:no OBJS=src\cfg.obj src\hashmap.obj src\hexdump.obj src\linkedlist.obj src\mbs.obj src\msgno.obj src\stack.obj src\pool.obj src\varray.obj src\wcwidth.obj src\csv.obj src\path.obj src\text.obj src\eval.obj src\allocator.obj src\suba.obj src\bitset.obj src\time.obj src\misc.obj -- cgit v1.2.3