diff options
author | jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> | 2021-08-25 22:14:52 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-08-25 22:14:52 -0700 |
commit | 5549d804b3640462549401597cfef382911b3933 (patch) | |
tree | ee92b92846c95c667bce422b952d0c874ef755d9 /projects/tmux | |
parent | 390c200c1e85f0a86d205a401a77457f51cb1848 (diff) | |
download | oss-fuzz-5549d804b3640462549401597cfef382911b3933.tar.gz |
[Ubuntu upgrade] Fix projects so they don't break with upgrade. (#6304)
Fix projects so they don't break with upgrade.
These fixes are likely not backwards compatible and will fail on
Ubuntu 16.04.
Related: #6180
Diffstat (limited to 'projects/tmux')
-rw-r--r-- | projects/tmux/build.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/projects/tmux/build.sh b/projects/tmux/build.sh index 53de126ac..f4fe555e5 100644 --- a/projects/tmux/build.sh +++ b/projects/tmux/build.sh @@ -44,3 +44,8 @@ cat "${SRC}/tmux-fuzzing-corpus/iterm2"/* | \ split -a5 -db$MAXLEN - iterm2. zip -q -j -r "${OUT}/input-fuzzer_seed_corpus.zip" \ "${WORK}/fuzzing_corpus/" + +# Handle libevent not existing on runner. +mkdir $OUT/lib +cp /lib/x86_64-linux-gnu/libevent_core* $OUT/lib +patchelf --set-rpath '$ORIGIN/lib' $OUT/input-fuzzer |