Skip to content

Commit

Permalink
[proxygen] Set rpath properly (#2880)
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanmetzman authored Sep 23, 2019
1 parent 8f82af5 commit d488ec1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions projects/proxygen/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ cp /usr/lib/x86_64-linux-gnu/libunwind.so.8 $OUT/lib/
./build.sh -m --no-install-dependencies --build-for-fuzzing

# Patch rpath so fuzzers can find libunwind
find ./_build/proxygen/fuzzers -type f -executable -exec patchelf --set-rpath "$OUT/lib" {} \;
find ./_build/proxygen/fuzzers -type f -executable -exec patchelf --set-rpath '$ORIGIN/lib' {} \;

# Copy fuzzers over to the destination
find ./_build/proxygen/fuzzers -type f -executable -exec cp {} $OUT/ \;
find ./_build/proxygen/fuzzers -type f -executable -exec cp {} $OUT/ \;

0 comments on commit d488ec1

Please sign in to comment.