Bump version to 6.4.7.2.M8
[LibreOffice.git] / solenv / gbuild / platform / filter-creatingLibrary.awk
blob5b3335ce8724f1d14f71ffb105aec4833d80ad0b
1 #!/usr/bin/gawk -f
2 # -*- tab-width: 4; indent-tabs-mode: t -*-
4 # This file is part of the LibreOffice project.
6 # This Source Code Form is subject to the terms of the Mozilla Public
7 # License, v. 2.0. If a copy of the MPL was not distributed with this
8 # file, You can obtain one at http://mozilla.org/MPL/2.0/.
11 # Filter out the "Creating library" message printed by link.exe,
12 # as there is no way to disable it.
14 BEGIN {
15 creatinglibrary_prefix = ENVIRON["CREATINGLIBRARY_PREFIX"];
16 if (!creatinglibrary_prefix) {
17 creatinglibrary_prefix = "\\.lib.*\\.exp"
19 firstline = 1
23 if (firstline && match($0, creatinglibrary_prefix)) {
24 # ignore
25 } else {
26 # because MSVC stupidly prints errors on stdout, it's
27 # necessary to forward everything that isn't matched by the pattern
28 # so users get to see them.
29 print $0 > "/dev/stderr"
31 firstline = 0
34 # vim: set noet sw=4 ts=4: