diff --git a/projects/proxygen/build.sh b/projects/proxygen/build.sh index cec0359a66e4..dd3729f7daad 100755 --- a/projects/proxygen/build.sh +++ b/projects/proxygen/build.sh @@ -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/ \; \ No newline at end of file +find ./_build/proxygen/fuzzers -type f -executable -exec cp {} $OUT/ \;