Skip to content

Commit

Permalink
Don't force DllMain entry point on win64
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolas-cellier-aka-nice committed Jul 22, 2016
1 parent b027b3a commit 7a8be45
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions build.win64x64/common/Makefile.plugin
Expand Up @@ -140,22 +140,19 @@ ifneq ($(LINK_WITH_GCC),)
-m64 \
-def $(OBJDIR)/$(LIBNAME).def \
-o $(VMDIR)/$(LIBNAME).dll \
--entry _DllMain@12 \
$(GCCLINKEXTRAS) \
$(LIBOBJ) $(EXTRALIBS)
else ifneq ($(LINK_WITH_GPP),)
$(CXX) -shared \
-m64 \
-def $(OBJDIR)/$(LIBNAME).def \
-o $(VMDIR)/$(LIBNAME).dll \
--entry _DllMain@12 \
$(GPPLINKEXTRAS) \
$(LIBOBJ) $(EXTRALIBS)
else
$(DLLWRAP) -mwindows \
$(DLLWRAP) -mwindows -m64 \
-def $(OBJDIR)/$(LIBNAME).def \
-o $(VMDIR)/$(LIBNAME).dll \
--entry _DllMain@12 \
$(DLLWRAPEXTRAS) \
$(OBJDIR)/$(LIBNAME).exp \
$(LIBOBJ) $(EXTRALIBS)
Expand Down

0 comments on commit 7a8be45

Please sign in to comment.