Skip to content

Commit 5d157f1

Browse files
committed
Update bmakecommon.mpt
Fixed libs
1 parent 0cad990 commit 5d157f1

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

templates/bmakecommon.mpt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -121,10 +121,10 @@ linker_paths = -L\"$(BDS)\lib\win64x\debug\" -L\"$(BDS)\lib\win64x\release\" -L\
121121
startup_bits = 64
122122
ccflags = -q
123123
link = bcc64x
124-
common_libs = -lcrtbegin.o -lws2_32 -lmoldname -lucrt -lmingw32 -lmingwex -l\"c++\" -lunwind -lmingwthrd -l:import64$(LIB_EXT)
124+
common_libs = -Xlinker crtbegin.o -lws2_32 -lmoldname -lucrt -lmingw32 -lmingwex -l\"c++\" -lunwind -lmingwthrd -l:import64$(LIB_EXT)
125125
platform_libs_prefix = -l
126-
dll_libs = -ldllcrt2.o
127-
exe_libs = -lcrt2.o
126+
dll_libs = -Xlinker dllcrt2.o
127+
exe_libs = -Xlinker crt2.o
128128
tlib = tlib64
129129
dllflags = -Xlinker -m -Xlinker i386pep -Xlinker -shared -Xlinker --Bdynamic -Xlinker --enable-auto-image-base
130130
exeflags = -Xlinker -m -Xlinker i386pep -Xlinker --Bdynamic

0 commit comments

Comments
 (0)