You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by ar...@apache.org on 2023/03/12 20:06:44 UTC

[openoffice] 01/01: Indicate all compilation parameters

This is an automated email from the ASF dual-hosted git repository.

ardovm pushed a commit to branch make44
in repository https://gitbox.apache.org/repos/asf/openoffice.git

commit f65264f89b835de02173fcc0c71209b87439cd4f
Author: Arrigo Marchiori <ar...@yahoo.it>
AuthorDate: Sun Mar 12 21:04:51 2023 +0100

    Indicate all compilation parameters
    
    Make 4.4 seems to ignore the parameters given for object slideshowimpl
    for static library "sldshw_s". We request the object file here too, so we
    indicate the parameters (again) here.
---
 main/slideshow/Library_slideshow.mk | 18 ++++++++++++++++++
 1 file changed, 18 insertions(+)

diff --git a/main/slideshow/Library_slideshow.mk b/main/slideshow/Library_slideshow.mk
index 352f88ab9b..bf149e12be 100644
--- a/main/slideshow/Library_slideshow.mk
+++ b/main/slideshow/Library_slideshow.mk
@@ -41,6 +41,24 @@ $(eval $(call gb_Library_add_linked_libs,slideshow,\
 	$(gb_STDLIBS) \
 ))
 
+# Necessary for building slideshowimpl
+$(eval $(call gb_Library_set_include,slideshow,\
+        $$(INCLUDE) \
+	-I$(SRCDIR)/slideshow/source/inc \
+	-I$(SRCDIR)/slideshow/inc/pch \
+))
+
+# Necessary for building slideshowimpl
+$(eval $(call gb_Library_add_defs,sildeshow,\
+	-DBOOST_SPIRIT_USE_OLD_NAMESPACE \
+))
+
+# Necessary for building slideshowimpl
+$(eval $(call gb_Library_add_api,slideshow,\
+	offapi \
+	udkapi \
+))
+
 $(eval $(call gb_Library_add_linked_static_libs,slideshow,\
 	sldshw_s \
 ))