Skip to content

Commit fc2a69b

Browse files
committed
Merge branch 'master' of github.com:libvips/libvips
2 parents fbec9a5 + 70144f6 commit fc2a69b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

fuzz/oss_fuzz_build.sh

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -188,15 +188,13 @@ cmake \
188188
cmake --build . --target install
189189
popd
190190

191-
# FIXME: Workaround for https://github.com/mesonbuild/meson/issues/14640
192-
export LDFLAGS+=" -Wl,-rpath=\$ORIGIN/lib"
193-
194191
# libvips
195192
# Disable building man pages, gettext po files, tools, and tests
196193
sed -i "/subdir('man')/{N;N;N;d;}" meson.build
197194
meson setup build --prefix=$WORK --libdir=lib --prefer-static --default-library=static --buildtype=debugoptimized \
198195
-Dbackend_max_links=4 -Ddeprecated=false -Dexamples=false -Dcplusplus=false -Dmodules=disabled \
199-
-Dfuzzing_engine=oss-fuzz -Dfuzzer_ldflags="$LIB_FUZZING_ENGINE"
196+
-Dfuzzing_engine=oss-fuzz -Dfuzzer_ldflags="$LIB_FUZZING_ENGINE" \
197+
-Dcpp_link_args="$LDFLAGS -Wl,-rpath=\$ORIGIN/lib"
200198
meson install -C build --tag devel
201199

202200
# Copy fuzz executables to $OUT

0 commit comments

Comments
 (0)