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.
15 creatinglibrary_prefix =
ENVIRON["CREATINGLIBRARY_PREFIX"];
16 if (!creatinglibrary_prefix
) {
17 creatinglibrary_prefix =
"\\.lib.*\\.exp"
23 if (firstline
&& match($
0, creatinglibrary_prefix
)) {
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"
34 # vim: set noet sw=4 ts=4: