Skip to content

Commit 3425bb2

Browse files
committed
msys2: fix build 3
1 parent 8ab3c37 commit 3425bb2

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

tests/basic/makefile

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

1313
ifeq ($(os), windows)
14+
this_ldlibs += -l mingw32
1415
else
1516
this_ldflags += -rdynamic
1617
endif
@@ -24,10 +25,6 @@ this_ldlibs += -l utki$(this_dbg)
2425

2526
this_ldlibs += ../../src/out/$(c)/libtst$(this_dbg)$(dot_so)
2627

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

3330
this_test_deps := $(prorab_this_name)

tests/failed/makefile

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

1313
ifeq ($(os), windows)
14+
this_ldlibs += -l mingw32
1415
else
1516
this_ldflags += -rdynamic
1617
endif
@@ -27,10 +28,6 @@ this_ldlibs += -l opros$(this_dbg)
2728

2829
this_ldlibs += ../../src/out/$(c)/libtst$(this_dbg)$(dot_so)
2930

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

3633
this_test_deps := $(prorab_this_name)

0 commit comments

Comments
 (0)