We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 90ca1b2 commit f171f17Copy full SHA for f171f17
tests/fuzz/oss-fuzz-build.sh
@@ -5,4 +5,13 @@ conan install . --build=missing --update -s build_type=Release -o curaengine:ena
5
cmake --preset release -DWITH_TEST_FUZZ=ON
6
cmake --build --preset release -j$(nproc)
7
8
-cp build/Release/tests/fuzz/Fuzz* $OUT
+cp build/Release/tests/fuzz/Fuzz* $OUT
9
+
10
+mkdir -p $OUT/lib
11
+# Move all dynamic deps into output directory.
12
+find ~/.conan/data -name '*.so*' -exec cp {} $OUT/lib/ \;
13
14
+# Rewrite dynamic linker paths to point to output directory
15
+for fuzzer in $OUT/Fuzz*; do
16
+ chrpath -r '$ORIGIN/lib' $fuzzer
17
+done
0 commit comments