Skip to content

Commit 3bd2df9

Browse files
committed
Try -tR to link RTL dynamic
* templates/bmakecommon.mpt:
1 parent 5d7abe4 commit 3bd2df9

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

templates/bmakecommon.mpt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -120,16 +120,16 @@ lib_ext = .lib
120120
common_defines = WIN32 _WINDOWS WIN64
121121
common_flags = -Qunused-arguments
122122
obj_ext = .o
123-
linker_paths =
123+
linker_paths =
124124
linker_passthrough = -Xlinker
125125
startup_bits = 64
126126
ccflags = -q
127127
link = bcc64x
128-
common_libs = -lws2_32 -lucrt -lmingwthrd
128+
common_libs = -lws2_32 -lucrt -lmingwthrd
129129
platform_libs_prefix = -l
130130
tlib = tlib64
131-
dllflags = -tD -Xlinker --Bdynamic
132-
exeflags = -Xlinker --Bdynamic
131+
dllflags = -tD -tR
132+
exeflags = -tR
133133
object_search_path = 0
134134
linker_dll_arguments = --driver-mode=g++ $(DLLFLAGS) $(LFLAGS:\=/) $(OBJFILES:\=/) -o $(OUTPUTDIR:\=/)$(NAME)$(DLL_EXT) -Xlinker --out-implib -Xlinker $(OUTPUTDIR:\=/)$(NAME).lib $(LIBFILES:\=/) $(RESOURCE:\=/)
135135
linker_exe_arguments = --driver-mode=g++ $(EXEFLAGS) $(LFLAGS:\=/) $(OBJFILES:\=/) -o $(OUTPUTDIR:\=/)$(NAME)$(EXE_EXT) $(LIBFILES:\=/) $(RESOURCE:\=/)

0 commit comments

Comments
 (0)