summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlib/fuzzing/oss-fuzz/build_samba.sh6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/fuzzing/oss-fuzz/build_samba.sh b/lib/fuzzing/oss-fuzz/build_samba.sh
index 93039e4dbe0..5d3bc3ff6c3 100755
--- a/lib/fuzzing/oss-fuzz/build_samba.sh
+++ b/lib/fuzzing/oss-fuzz/build_samba.sh
@@ -21,6 +21,12 @@ export CFLAGS
LD="$CXX"
export LD
+# Use the system Python, not the OSS-Fuzz provided statically linked
+# and instrumented Python, because we can't statically link.
+
+PYTHON=/usr/bin/python3
+export PYTHON
+
# $SANITIZER is provided by the oss-fuzz "compile" command
#
# We need to add the waf configure option as otherwise when we also