sal/CppunitTest_sal_osl_file_details.mk | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+)
New commits: commit f4d48ac9cdb822e2c2d3fc1f239fe0958f608cc2 Author: Stephan Bergmann <stephan.bergm...@collabora.com> AuthorDate: Mon Jul 7 08:18:25 2025 +0200 Commit: Stephan Bergmann <stephan.bergm...@collabora.com> CommitDate: Mon Jul 7 11:29:52 2025 +0200 Fix linking new CppunitTest_sal_osl_file_details on macOS/Windows ...following up on 242ccc31d5a2c8be900828523de145e173900514 "Avoid extending the sal UNO API" Change-Id: Ie002ff5c890c264c7b052ed31b346618add246b8 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/187459 Tested-by: Jenkins CollaboraOffice <jenkinscollaboraoff...@gmail.com> Reviewed-by: Stephan Bergmann <stephan.bergm...@collabora.com> diff --git a/sal/CppunitTest_sal_osl_file_details.mk b/sal/CppunitTest_sal_osl_file_details.mk index acfed31c0135..921ec37cd4d1 100644 --- a/sal/CppunitTest_sal_osl_file_details.mk +++ b/sal/CppunitTest_sal_osl_file_details.mk @@ -40,4 +40,26 @@ $(eval $(call gb_CppunitTest_use_externals,sal_osl_file_details, \ $(eval $(call gb_CppunitTest_use_library_objects,sal_osl_file_details,sal)) +ifeq ($(OS),MACOSX) +$(eval $(call gb_CppunitTest_use_system_darwin_frameworks,sal_osl_file_details, \ + Carbon \ + CoreFoundation \ + Foundation \ + $(if $(ENABLE_MACOSX_SANDBOX),Security) \ +)) +endif + +$(eval $(call gb_CppunitTest_use_system_win32_libs,sal_osl_file_details, \ + advapi32 \ + comdlg32 \ + dbghelp \ + mpr \ + ole32 \ + shell32 \ + user32 \ + userenv \ + wer \ + ws2_32 \ +)) + # vim: set noet sw=4 ts=4: