Ref #63. Fixed generating DLL bug on ming-w64.
authortraits <traits.zhang@gmail.com>
Sun, 9 Oct 2011 09:25:44 +0000 (17:25 +0800)
committertraits <traits.zhang@gmail.com>
Sun, 9 Oct 2011 09:25:44 +0000 (17:25 +0800)
exports/Makefile

index 08f4965..6905098 100644 (file)
@@ -66,7 +66,7 @@ ifeq ($(BINARY32), 1)
        -lib /machine:i386 /def:libgoto2.def
 else
        $(DLLWRAP) -o ../$(LIBDLLNAME) --def libgoto2.def \
-       --entry _dllinit    -s dllinit.$(SUFFIX) --dllname $(@F) ../$(LIBNAME) $(FEXTRALIB)
+       --entry $(FU)dllinit    -s dllinit.$(SUFFIX) --dllname $(@F) ../$(LIBNAME) $(FEXTRALIB)
        -lib /machine:X64 /def:libgoto2.def 
 endif