From 1305edfbc27121d7fc8973ccafb92f76d5401ac1 Mon Sep 17 00:00:00 2001 From: Hossein Date: Tue, 9 Jan 2024 10:55:01 +0000 Subject: tdf#149256 Ship LibreOfficeKit headers in packages With LibreOfficeKit (LOK) headers in place, it would be possible to create C++ applications that can access LibreOffice functionality without building LibreOffice, only by installing SDK and build tools. Change-Id: I8efc8ac1cec7b3b89e4d7eb2c8d15afeb595672c Reviewed-on: https://gerrit.libreoffice.org/c/core/+/134863 Tested-by: Hossein Tested-by: Jenkins Reviewed-by: Hossein --- odk/CppunitTest_odk_checkapi.mk | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'odk/CppunitTest_odk_checkapi.mk') diff --git a/odk/CppunitTest_odk_checkapi.mk b/odk/CppunitTest_odk_checkapi.mk index 22dad8cab62a..1c93be6a2473 100644 --- a/odk/CppunitTest_odk_checkapi.mk +++ b/odk/CppunitTest_odk_checkapi.mk @@ -28,6 +28,12 @@ $(eval $(call gb_CppunitTest_set_external_code,odk_checkapi)) $(eval $(call gb_CppunitTest_set_include,odk_checkapi, \ -I$(INSTDIR)/$(SDKDIRNAME)/include $(SOLARINC))) +ifeq ($(OS),LINUX) +$(eval $(call gb_CppunitTest_add_libs,odk_checkapi,\ + -ldl \ +)) +endif + $(eval $(call gb_CppunitTest_use_custom_headers,odk_checkapi,\ odk/allheaders \ )) -- cgit