Skip to content

Commit b7e7e72

Browse files
committed
depends: fix mingw-w64 Qt DEBUG=1 build
The issue is that compilation is done with `x86_64-w64-mingw32-g++-posix`, but then linking is done with `x86_64-w64-mingw32-g++`. I'm guessing this has been broken since bitcoin#24131 (01d1845), but have not checked. Fixes bitcoin#29734. Unblocks bitcoin#29527 (now DEBUG=1 builds can be tested).
1 parent d04324a commit b7e7e72

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

depends/packages/qt.mk

+1
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,7 @@ $(package)_config_opts_mingw32 += -xplatform win32-g++
177177
$(package)_config_opts_mingw32 += "QMAKE_CFLAGS = '$($(package)_cflags) $($(package)_cppflags)'"
178178
$(package)_config_opts_mingw32 += "QMAKE_CXX = '$($(package)_cxx)'"
179179
$(package)_config_opts_mingw32 += "QMAKE_CXXFLAGS = '$($(package)_cxxflags) $($(package)_cppflags)'"
180+
$(package)_config_opts_mingw32 += "QMAKE_LINK = '$($(package)_cxx)'"
180181
$(package)_config_opts_mingw32 += "QMAKE_LFLAGS = '$($(package)_ldflags)'"
181182
$(package)_config_opts_mingw32 += "QMAKE_LIB = '$($(package)_ar) rc'"
182183
$(package)_config_opts_mingw32 += -device-option CROSS_COMPILE="$(host)-"

0 commit comments

Comments
 (0)