Windows build failure caused by merging plugins/backends into libaqbanking
Building aqbanking from git master (and release 5.99.33beta) for Windows fails at libaqbanking.dll because of missing symbols. From the appended log:
[ 236s] libtool: link: i686-w64-mingw32-gcc -shared .libs/dummy.o -Wl,--whole-archive aqbanking/.libs/libaqbanking_base.a plugins/.libs/libabplugins.a -Wl,--no-whole-archive -L/usr/i686-w64-mingw32/sys-root/mingw/lib -lgwenhywfar -lgmp -lintl -O2 -mms-bitfields -Wl,--exclude-libs=libintl.a -Wl,--exclude-libs=libiconv.a -Wl,--no-keep-memory -mwindows -o .libs/libaqbanking-43.dll -Wl,--enable-auto-image-base -Xlinker --out-implib -Xlinker .libs/libaqbanking.dll.a
[ 237s] /usr/lib64/gcc/i686-w64-mingw32/8.2.0/../../../../i686-w64-mingw32/bin/ld: plugins/.libs/libabplugins.a(account.o): in function `AH_Account_new':
[ 237s] /home/abuild/rpmbuild/BUILD/aqbanking-5.99.859e40ef/src/libs/plugins/backends/aqhbci/banking/account.c:38: undefined reference to `_imp__AB_Account_new'
#2 Updated by rhabacker almost 2 years ago
- File build-maint-2019-09-23-12-14-40.log.txt added
Here is a build log from a native build (see https://code.gnucash.org/builds/win32/build-logs/maint/2019-09/build-maint-2019-09-23-12-14-40.log) to find differences.
#3 Updated by rhabacker almost 2 years ago
- File fix-windows-build.patch added
- Subject changed from Windows build failure caused by refactoring to Windows build failure caused by merging plugins/backends into libaqbanking
- Priority changed from Normal to High
The issue will be fixed with the appended patch.