Skip to content

Commit 8ab3c37

Browse files
committed
msys2: fix build 2
1 parent 2b1f0a8 commit 8ab3c37

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

tests/basic/makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ this_srcs := $(call prorab-src-dir, .)
1111
this_srcs += ../harness/testees.cpp
1212

1313
ifeq ($(os), windows)
14-
this_ldflags += -mconsole
1514
else
1615
this_ldflags += -rdynamic
1716
endif
@@ -25,6 +24,10 @@ this_ldlibs += -l utki$(this_dbg)
2524

2625
this_ldlibs += ../../src/out/$(c)/libtst$(this_dbg)$(dot_so)
2726

27+
ifeq ($(os), windows)
28+
this_ldlibs += -l mingw32
29+
endif
30+
2831
$(eval $(prorab-build-app))
2932

3033
this_test_deps := $(prorab_this_name)

tests/failed/makefile

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ this_srcs := $(call prorab-src-dir, .)
1111
this_srcs += ../harness/testees.cpp
1212

1313
ifeq ($(os), windows)
14-
this_ldflags += -mconsole
1514
else
1615
this_ldflags += -rdynamic
1716
endif
@@ -28,6 +27,10 @@ this_ldlibs += -l opros$(this_dbg)
2827

2928
this_ldlibs += ../../src/out/$(c)/libtst$(this_dbg)$(dot_so)
3029

30+
ifeq ($(os), windows)
31+
this_ldlibs += -l mingw32
32+
endif
33+
3134
$(eval $(prorab-build-app))
3235

3336
this_test_deps := $(prorab_this_name)

0 commit comments

Comments
 (0)