mirror of https://github.com/google/oss-fuzz.git
[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:
parent
e0b87b477f
commit
422ffb1792
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue