[Libreoffice-commits] core.git: external/libstaroffice external/redland solenv/gbuild

Stephan Bergmann sbergman at redhat.com
Fri Nov 3 22:44:39 UTC 2017


 external/libstaroffice/Library_staroffice.mk |    1 +
 external/redland/Library_raptor.mk           |    5 +++++
 external/redland/Library_rdf.mk              |    5 +++++
 solenv/gbuild/platform/com_MSC_class.mk      |    2 --
 4 files changed, 11 insertions(+), 2 deletions(-)

New commits:
commit f218f8f6c8c587d2d78679f935093329f145fede
Author: Stephan Bergmann <sbergman at redhat.com>
Date:   Fri Nov 3 16:41:53 2017 +0100

    -I$(dir $(3)) in gb_CObject__command_pattern is no longer needed
    
    ...in com_MSC_class.mk now, similar to ecbaf980625a9e7b06abe91c7c70e78f6ad469a7
    for com_GCC_class.mk.  Three libraries built from external sources (for Windows
    only) needed adjustment.
    
    Change-Id: Id8976a30b80efff6119afb18ccaf6811fe27d2f8
    Reviewed-on: https://gerrit.libreoffice.org/44270
    Tested-by: Jenkins <ci at libreoffice.org>
    Reviewed-by: Stephan Bergmann <sbergman at redhat.com>

diff --git a/external/libstaroffice/Library_staroffice.mk b/external/libstaroffice/Library_staroffice.mk
index 23d805d3a8e0..afa8a032518f 100644
--- a/external/libstaroffice/Library_staroffice.mk
+++ b/external/libstaroffice/Library_staroffice.mk
@@ -19,6 +19,7 @@ $(eval $(call gb_Library_set_warnings_not_errors,staroffice))
 
 $(eval $(call gb_Library_set_include,staroffice,\
     -I$(call gb_UnpackedTarball_get_dir,libstaroffice)/inc \
+    -I$(call gb_UnpackedTarball_get_dir,libstaroffice)/src/lib \
     $$(INCLUDE) \
 ))
 
diff --git a/external/redland/Library_raptor.mk b/external/redland/Library_raptor.mk
index 333c2947fef0..1f171c1bc752 100644
--- a/external/redland/Library_raptor.mk
+++ b/external/redland/Library_raptor.mk
@@ -9,6 +9,11 @@
 
 $(eval $(call gb_Library_Library,raptor2))
 
+$(eval $(call gb_Library_set_include,raptor2, \
+    -I$(call gb_UnpackedTarball_get_dir,raptor)/src \
+    $$(INCLUDE) \
+))
+
 $(eval $(call gb_Library_use_unpacked,raptor2,raptor))
 
 $(eval $(call gb_Library_use_externals,raptor2,\
diff --git a/external/redland/Library_rdf.mk b/external/redland/Library_rdf.mk
index 6ce13e38d351..9e2f7279fa55 100644
--- a/external/redland/Library_rdf.mk
+++ b/external/redland/Library_rdf.mk
@@ -9,6 +9,11 @@
 
 $(eval $(call gb_Library_Library,rdf))
 
+$(eval $(call gb_Library_set_include,rdf, \
+    -I$(call gb_UnpackedTarball_get_dir,redland)/src \
+    $$(INCLUDE) \
+))
+
 $(eval $(call gb_Library_use_unpacked,rdf,redland))
 
 $(eval $(call gb_Library_set_warnings_not_errors,rdf))
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk
index 3bc5e3235420..b00741184d27 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -55,7 +55,6 @@ $(call gb_Helper_abbreviate_dirs,\
 		-Fd$(PDBFILE) \
 		$(PCHFLAGS) \
 		$(if $(COMPILER_TEST),,$(gb_COMPILERDEPFLAGS)) \
-		-I$(dir $(3)) \
 		$(INCLUDE) \
 		$(if $(filter YES,$(CXXOBJECT_X64)), -U_X86_ -D_AMD64_,) \
 		-c $(3) \
@@ -83,7 +82,6 @@ $(call gb_Helper_abbreviate_dirs,\
 		$(if $(EXTERNAL_CODE),$(if $(COM_IS_CLANG),-Wno-undef),$(gb_DEFS_INTERNAL)) \
 		$(gb_LTOFLAGS) \
 		$(gb_COMPILERDEPFLAGS) \
-		-I$(dir $(3)) \
 		$(6) \
 		-c $(3) \
 		-Yc$(notdir $(patsubst %.cxx,%.hxx,$(3))) -Fp$(1) -Fo$(1).obj) $(call gb_create_deps,$(call gb_PrecompiledHeader_get_dep_target_tmp,$(2)),$(1),$(3))


More information about the Libreoffice-commits mailing list