summaryrefslogtreecommitdiffstats
path: root/js/src/fuzz-tests/moz.build
diff options
context:
space:
mode:
Diffstat (limited to 'js/src/fuzz-tests/moz.build')
-rw-r--r--js/src/fuzz-tests/moz.build7
1 files changed, 4 insertions, 3 deletions
diff --git a/js/src/fuzz-tests/moz.build b/js/src/fuzz-tests/moz.build
index ccec998f0b..89f16e681f 100644
--- a/js/src/fuzz-tests/moz.build
+++ b/js/src/fuzz-tests/moz.build
@@ -33,9 +33,10 @@ if CONFIG["FUZZING"]:
include("/tools/fuzzing/libfuzzer-config.mozbuild")
if CONFIG["FUZZING_INTERFACES"]:
- USE_LIBS += [
- "static:fuzzer",
- ]
+ if CONFIG["LIBFUZZER"]:
+ USE_LIBS += ["static:fuzzer"]
+ else:
+ USE_LIBS += ["static:fuzzer-interface"]
USE_LIBS += [
"static:js",