Fix CppunitTest_extensions_test_update build

[LNK] CppunitTest/test_extensions_test_update.dll
updatehdl.o : error LNK2019: unresolved external symbol "__declspec(dllimport) public: static class vcl::Window * __cdecl VCLUnoHelper::GetWindow(class com::sun::star::uno::Reference<class com::sun::star::awt::XWindowPeer> const &)" (__imp_?GetWindow@VCLUnoHelper@@SAPEAVWindow@vcl@@AEBV?$Reference@VXWindowPeer@awt@star@sun@com@@@uno@star@sun@com@@@Z) referenced in function "private: class vcl::Window * __cdecl UpdateHandler::getWindow(class rtl::OUString const &)" (?getWindow@UpdateHandler@@AEAAPEAVWindow@vcl@@AEBVOUString@rtl@@@Z)
C:\lo\build\workdir\LinkTarget\CppunitTest\test_extensions_test_update.dll : fatal error LNK1120: 1 unresolved external

After commit 04b5cdcca0 (tdf#104833
update check: Start using vcl::Window more directly, 2025-09-17),
Library_updchk depends on tk. The unit test uses object files of
the library.

Change-Id: I971357f47eabc4b5df51760e7215280d6e03994b
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/191117
Tested-by: Jenkins
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
This commit is contained in:
Mike Kaganski
2025-09-18 17:33:06 +02:00
parent c920581dc8
commit 36b7b67668
@@ -24,6 +24,7 @@ $(eval $(call gb_CppunitTest_use_libraries,extensions_test_update, \
sal \
salhelper \
test \
tk \
utl \
unotest \
vcl \