When building a .dll the following flags must be added

Index: makefile =================================================================== --- makefile (revision 8042) +++ makefile (working copy) @@ -131,7 +131,7 @@ $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\lib}.c{$(TMPDIR)}.obj: - $(cc32) $(cdebug) $(cflags) $(INCLUDES) \ + $(cc32) $(cdebug) $(cflags) -DYYMALLOC=malloc -DYYFREE=free $(INCLUDES) \ $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\tools}.c{$(TMPDIR)}.obj: Index: win.c

On Mon, Apr 14, 2008 at 02:38:19PM +0200, Anders Broman wrote:
Index: makefile
--- makefile (revision 8042) +++ makefile (working copy) @@ -131,7 +131,7 @@ $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\lib}.c{$(TMPDIR)}.obj:
$(cc32) $(cdebug) $(cflags) $(INCLUDES) \
$(cc32) $(cdebug) $(cflags) -DYYMALLOC=malloc -DYYFREE=free
$(INCLUDES) \ $(DEFINES) -Fo$(TMPDIR)\ $<
{$(ROOT)\tools}.c{$(TMPDIR)}.obj: Index: win.c
committed (r8052)
/js
participants (2)
-
Anders Broman
-
Juergen Schoenwaelder