Skip to content

Commit cc97d22

Browse files
authored
OSS-Fuzz: add workaround for mesonbuild/meson#14533 (#4487)
By appending the sanitizer-specific flags to the `LDFLAGS` env.
1 parent 08afac5 commit cc97d22

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

fuzz/oss_fuzz_build.sh

+3
Original file line numberDiff line numberDiff line change
@@ -188,6 +188,9 @@ cmake \
188188
cmake --build . --target install
189189
popd
190190

191+
# FIXME: Workaround for https://github.com/mesonbuild/meson/issues/14533
192+
export LDFLAGS+=" $CFLAGS"
193+
191194
# libvips
192195
# Disable building man pages, gettext po files, tools, and tests
193196
sed -i "/subdir('man')/{N;N;N;d;}" meson.build

0 commit comments

Comments
 (0)