[Libreoffice-commits] core.git: solenv/gbuild
Noel Grandin
noel at peralex.com
Thu Oct 9 01:37:22 PDT 2014
solenv/gbuild/platform/com_MSC_class.mk | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
New commits:
commit 11044cbf0d92fea3cb55ba46d81f8fe51b1ec0ab
Author: Noel Grandin <noel at peralex.com>
Date: Thu Oct 9 11:32:31 2014 +0300
fix 'line too long' link error on Windows with merged-libs
Change-Id: I76457af34d5a034197d1b7d847a7120518f44383
diff --git a/solenv/gbuild/platform/com_MSC_class.mk b/solenv/gbuild/platform/com_MSC_class.mk
index 390a7b8..b4dc1e3 100644
--- a/solenv/gbuild/platform/com_MSC_class.mk
+++ b/solenv/gbuild/platform/com_MSC_class.mk
@@ -136,8 +136,7 @@ gb_LinkTarget_get_linksearchpath_for_layer = \
# avoid fatal error LNK1170 for Library_merged
define gb_LinkTarget_MergedResponseFile
-cut -f -1000 -d ' ' $${RESPONSEFILE} > $${RESPONSEFILE}.1 && \
-cut -f 1001- -d ' ' $${RESPONSEFILE} >> $${RESPONSEFILE}.1 && \
+cat $${RESPONSEFILE} | sed 's/ /\n/g' | grep -v '^$$' > $${RESPONSEFILE}.1 && \
mv $${RESPONSEFILE}.1 $${RESPONSEFILE} &&
endef
More information about the Libreoffice-commits
mailing list