diff options
author | Hossein <hossein@libreoffice.org> | 2024-01-09 10:55:01 +0000 |
---|---|---|
committer | Hossein <hossein@libreoffice.org> | 2024-06-23 19:57:30 +0200 |
commit | 1305edfbc27121d7fc8973ccafb92f76d5401ac1 (patch) | |
tree | 1fb8c64925a8ea507ee8cb70fa6e0fef2ead8000 /odk/CppunitTest_odk_checkapi.mk | |
parent | ecb0d08e3cfcad18006c0090b9b5b19c1c0f7b9c (diff) |
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 <hossein@libreoffice.org>
Tested-by: Jenkins
Reviewed-by: Hossein <hossein@libreoffice.org>
Diffstat (limited to 'odk/CppunitTest_odk_checkapi.mk')
-rw-r--r-- | odk/CppunitTest_odk_checkapi.mk | 6 |
1 files changed, 6 insertions, 0 deletions
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 \ )) |