aboutsummaryrefslogtreecommitdiffhomepage
path: root/projects/myanmar-tools/build.sh
diff options
context:
space:
mode:
Diffstat (limited to 'projects/myanmar-tools/build.sh')
-rw-r--r--projects/myanmar-tools/build.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/myanmar-tools/build.sh b/projects/myanmar-tools/build.sh
index 52260848..54fc908c 100644
--- a/projects/myanmar-tools/build.sh
+++ b/projects/myanmar-tools/build.sh
@@ -26,7 +26,7 @@ make all
mkdir -p $OUT/lib
cp libmyanmartools.so $OUT/lib
$CXX $CXXFLAGS -std=c++11 -I../public -L$OUT/lib \
- -Wl,-rpath $OUT/lib -lmyanmartools \
+ -Wl,-rpath,'$ORIGIN/lib' -lmyanmartools \
-o $OUT/zawgyi_detector_fuzz_target \
../zawgyi_detector_fuzz_target.cpp \
$LIB_FUZZING_ENGINE