summaryrefslogtreecommitdiff
path: root/libs
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-12-02 18:22:57 +0000
committerStef Walter <stef@memberwebs.com>2004-12-02 18:22:57 +0000
commitd87c7aea1c25ade98c6dfdfc543ad0a51d9c9dad (patch)
treee37030b4a03fa1581dfeb74d312a1beb75ee4aa4 /libs
parentc60c364fa1adc8ab2308eae25638d0602b5db45f (diff)
Fixed windows build problems
Diffstat (limited to 'libs')
-rw-r--r--libs/files/domc-library.patch2
-rw-r--r--libs/files/libmba-library.patch2
2 files changed, 2 insertions, 2 deletions
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