summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xxmloff/Library_xo.mk6
-rwxr-xr-xxmloff/Library_xof.mk6
2 files changed, 5 insertions, 7 deletions
diff --git a/xmloff/Library_xo.mk b/xmloff/Library_xo.mk
index 4e91bd83f722..278971088472 100755
--- a/xmloff/Library_xo.mk
+++ b/xmloff/Library_xo.mk
@@ -35,10 +35,8 @@ $(eval $(call gb_Library_add_precompiled_header,xo,$(SRCDIR)/xmloff/inc/pch/prec
$(eval $(call gb_Library_set_include,xo,\
$$(SOLARINC) \
- -I. \
- -I$(SRCDIR)/xmloff/inc \
- -I$(SRCDIR)/xmloff/source/inc \
- -I$(SRCDIR)/xmloff/inc/pch \
+ -I$(realpath $(SRCDIR)/xmloff/inc) \
+ -I$(realpath $(SRCDIR)/xmloff/inc/pch) \
-I$(OUTDIR)/inc/offuh \
))
diff --git a/xmloff/Library_xof.mk b/xmloff/Library_xof.mk
index d8918886457d..2ed555d7ac41 100755
--- a/xmloff/Library_xof.mk
+++ b/xmloff/Library_xof.mk
@@ -30,9 +30,8 @@ $(eval $(call gb_Library_Library,xof))
$(eval $(call gb_Library_set_componentfile,xof,xmloff/source/transform/xof))
$(eval $(call gb_Library_set_include,xof,\
- -I$(SRCDIR)/xmloff/inc/pch \
- -I$(SRCDIR)/xmloff/inc \
- -I$(SRCDIR)/xmloff/source/inc \
+ -I$(realpath $(SRCDIR)/xmloff/inc/pch) \
+ -I$(realpath $(SRCDIR)/xmloff/inc) \
$$(INCLUDE) \
-I$(OUTDIR)/inc/offuh \
))
@@ -44,6 +43,7 @@ $(eval $(call gb_Library_add_linked_libs,xof,\
sal \
salhelper \
xo \
+ $(gb_STDLIBS) \
))
$(eval $(call gb_Library_add_exception_objects,xof,\