[Libreoffice-commits] .: solenv/gbuild

Jan Holesovsky kendy at kemper.freedesktop.org
Tue Aug 9 02:32:44 PDT 2011


 solenv/gbuild/platform/windows.mk |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

New commits:
commit 99cf6b877b5ff5d747576c4c1174853e6e5c4541
Author: Jan Holesovsky <kendy at suse.cz>
Date:   Tue Aug 9 11:30:10 2011 +0200

    Create dir for the dependencies.

diff --git a/solenv/gbuild/platform/windows.mk b/solenv/gbuild/platform/windows.mk
index b0b4d9f..a4a9f7e 100644
--- a/solenv/gbuild/platform/windows.mk
+++ b/solenv/gbuild/platform/windows.mk
@@ -272,7 +272,7 @@ endef
 define gb_CObject__command
 $(call gb_Output_announce,$(2),$(true),C  ,3)
 $(call gb_Helper_abbreviate_dirs_native,\
-	mkdir -p $(dir $(1)) && \
+	mkdir -p $(dir $(1)) $(dir $(4)) && \
 	unset INCLUDE && \
 	$(gb_CC) \
 		$(DEFS) \
@@ -283,7 +283,7 @@ $(call gb_Helper_abbreviate_dirs_native,\
 		-I$(realpath $(dir $(3))) \
 		$(INCLUDE) \
 		-c $(realpath $(3)) \
-		-Fo$(1)) $(call gb_create_deps,$(1),$(call gb_CObject_get_dep_target,$(2)),$(realpath $(3)))
+		-Fo$(1)) $(call gb_create_deps,$(1),$(4),$(realpath $(3)))
 $(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CFLAGS),$(INCLUDE))
 endef
 
@@ -293,7 +293,7 @@ endef
 define gb_CxxObject__command
 $(call gb_Output_announce,$(2),$(true),CXX,3)
 $(call gb_Helper_abbreviate_dirs_native,\
-	mkdir -p $(dir $(1)) && \
+	mkdir -p $(dir $(1)) $(dir $(4)) && \
 	unset INCLUDE && \
 	$(gb_CXX) \
 		$(DEFS) \
@@ -304,7 +304,7 @@ $(call gb_Helper_abbreviate_dirs_native,\
 		-I$(realpath $(dir $(3))) \
 		$(INCLUDE_STL) $(INCLUDE) \
 		-c $(realpath $(3)) \
-		-Fo$(1))  $(call gb_create_deps,$(1),$(4),$(realpath $(3)))
+		-Fo$(1)) $(call gb_create_deps,$(1),$(4),$(realpath $(3)))
 $(call gb_Object__command_deponcompile,$(1),$(4),$(3),$(DEFS),$(T_CXXFLAGS),$(INCLUDE))
 endef
 


More information about the Libreoffice-commits mailing list