Skip to content

Commit efda8eb

Browse files
authored
Merge pull request DOCGroup#204 from jwillemsen/jwi-mpcdynamic
Use -Bdynamic instead of -Bstatic
2 parents 94a3d7e + 2db8324 commit efda8eb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

templates/bmakecommon.mpt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ common_libs = crtbegin.o ws2_32$(LIB_EXT) -lmoldname -lucrt -lmingw32 -lmingwex
106106
dll_libs = dllcrt2.o
107107
exe_libs = crt2.o
108108
tlib = tlib64
109-
dllflags = -m i386pep -shared --Bstatic --enable-auto-image-base
110-
exeflags = -m i386pep --Bstatic
109+
dllflags = -m i386pep -shared --Bdynamic --enable-auto-image-base
110+
exeflags = -m i386pep --Bdynamic
111111
object_search_path = 0
112112
linker_dll_arguments = $(DLLFLAGS) $(LFLAGS) $(OBJFILES) -o $(OUTPUTDIR)$(NAME)$(DLL_EXT) --out-implib $(OUTPUTDIR)$(NAME).lib $(DLLLIBS) $(LIBFILES) $(RESOURCE)
113113
linker_exe_arguments = $(EXEFLAGS) $(LFLAGS) $(OBJFILES) -o $(OUTPUTDIR)$(NAME).exe $(EXELIBS) $(LIBFILES) $(RESOURCE)

0 commit comments

Comments
 (0)