From 422ffb17929d3e0d460563f1d148ab6d482381c2 Mon Sep 17 00:00:00 2001 From: jonathanmetzman <31354670+jonathanmetzman@users.noreply.github.com> Date: Mon, 23 Aug 2021 09:54:19 -0700 Subject: [PATCH] [Ubuntu upgrade][myanmar-tools] Explicitly link against libunwind. (#6277) This prevent build from breaking when builder is upgraded to Ubuntu 20.04. Related: #6180. --- projects/myanmar-tools/build.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/projects/myanmar-tools/build.sh b/projects/myanmar-tools/build.sh index aad8698c9..e13632297 100644 --- a/projects/myanmar-tools/build.sh +++ b/projects/myanmar-tools/build.sh @@ -33,7 +33,7 @@ cp libmyanmartools.so $OUT/lib # Copy libunwind since it isn't on the ClusterFuzz bot images. cp /usr/lib/x86_64-linux-gnu/libunwind.so.8 $OUT/lib/ $CXX $CXXFLAGS -std=c++11 -I../public -L$OUT/lib \ - -Wl,-rpath,'$ORIGIN/lib' -lmyanmartools \ + -Wl,-rpath,'$ORIGIN/lib' -lmyanmartools -lunwind \ -o $OUT/zawgyi_detector_fuzz_target \ ../zawgyi_detector_fuzz_target.cpp \ $LIB_FUZZING_ENGINE