[Ubuntu upgrade][myanmar-tools] Explicitly link against libunwind. (#6277)

This prevent build from breaking when builder is upgraded to
Ubuntu 20.04.

Related: #6180.
This commit is contained in:
jonathanmetzman 2021-08-23 09:54:19 -07:00 committed by GitHub
parent e0b87b477f
commit 422ffb1792
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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