diff --git a/projects/wasmedge/Dockerfile b/projects/wasmedge/Dockerfile index 588d76acf..7eb97b3a9 100644 --- a/projects/wasmedge/Dockerfile +++ b/projects/wasmedge/Dockerfile @@ -29,7 +29,7 @@ RUN git clone https://github.com/WasmEdge/WasmEdge.git ADD "https://api.github.com/repos/second-state/WasmEdge-unittest/commits?per_page=1&sha=wasm-dev-0.11.0" latest_commit RUN rm latest_commit -RUN git clone --branch wasm-dev-0.11.0 https://github.com/second-state/WasmEdge-unittest.git +RUN git clone --branch wasm-dev-0.13.0 https://github.com/second-state/WasmEdge-unittest.git COPY build.sh $SRC/ WORKDIR $SRC diff --git a/projects/wasmedge/build.sh b/projects/wasmedge/build.sh index 3ec489cd5..0b48cf87f 100644 --- a/projects/wasmedge/build.sh +++ b/projects/wasmedge/build.sh @@ -35,6 +35,7 @@ cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo \ . ninja -C build cp -a build/lib/api/libwasmedge*.so* build/tools/fuzz/wasmedge-fuzz* "$OUT"/ +patchelf --set-rpath \$ORIGIN "$OUT"/libwasmedge*.so* cd utils/corpus/po zip -9 "$OUT/wasmedge-fuzzpo_seed_corpus.zip" -R '*.txt' cd -