Get Meson builds working

See #917
This commit is contained in:
Justine Tunney 2024-08-19 08:40:18 -07:00
parent 4bbc16e2cc
commit 2d44142444
No known key found for this signature in database
GPG key ID: BE714B4575D6E328

View file

@ -141,6 +141,18 @@ for x; do
elif [ x"$x" != x"${x#-MF}" ]; then # startswith(x, "-MF")
DEPENDENCY_OUTPUT=${x#-MF}
continue
elif [ x"$x" = x"-MQ" ]; then
NEED_DEPENDENCY_OUTPUT=1
continue
elif [ x"$x" = x"-Wl,--version" ]; then
cat <<EOF
GNU ld (GNU Binutils) 2.42
Copyright (C) 2024 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License version 3 or (at your option) a later version.
This program has absolutely no warranty.
EOF
exit
elif [ x"$x" != x"${x#-O}" ]; then # startswith(x, "-O")
OPT=$x
elif [ x"$x" = x"-c" ]; then