solenv/gbuild/LinkTarget.mk | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
New commits: commit 80fb8b775c34080b983648a2b596e17ba58850b6 Author: David Tardon <dtar...@redhat.com> Date: Wed Apr 24 08:53:26 2013 +0200 make sure the dir exists I am hitting this problem with libcppunit.so.exports. It happens because libcppunit.so is not built by LinkTarget, so nothing has created $(WORKDIR)/LinkTarget/Library/ yet. Change-Id: Ibdde83c746f02110aab113491a2bf37bf2d417eb diff --git a/solenv/gbuild/LinkTarget.mk b/solenv/gbuild/LinkTarget.mk index 8cad4b2..60747e2 100755 --- a/solenv/gbuild/LinkTarget.mk +++ b/solenv/gbuild/LinkTarget.mk @@ -449,7 +449,7 @@ endef # Put this pattern rule here so it overrides the one below. # (this is rather ugly: because of % the functions cannot be used) $(call gb_LinkTarget_get_target,Library/%.exports) : $(gb_Library_OUTDIRLOCATION)/% - $(if $(wildcard $@),true,touch $@) + $(if $(wildcard $@),true,mkdir -p $(dir $@) && touch $@) $(call gb_LinkTarget_get_target,%) : $(call gb_LinkTarget_get_headers_target,%) $(gb_Helper_MISCDUMMY) $(if $(filter $*,$(foreach lib,$(gb_MERGEDLIBS) $(gb_URELIBS),$(call gb_Library_get_linktargetname,$(lib)))),\ _______________________________________________ Libreoffice-commits mailing list libreoffice-comm...@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/libreoffice-commits