com php-fuzzing-sapi: Fix condition: config.m4
| From: | Johannes Schlüter | Date: | Mon, 04 Mar 2019 21:13:33 +0000 |
| Subject: | com php-fuzzing-sapi: Fix condition: config.m4 | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-105122@lists.php.net to get a copy of this message | ||
Commit: 2b1e2df207cb07fd01a7a5ee8448e4f71aff6222
Author: Stanislav Malyshev <smalyshev@gmail.com> Mon, 4 Mar 2019 13:13:33 -0800
Parents: 094a4334e6508481789bde6c10a67581923aa833
Branches: master
Link: http://git.php.net/?p=php-fuzzing-sapi.git;a=commitdiff;h=2b1e2df207cb07fd01a7a5ee8448e4f71aff6222
Log:
Fix condition
Changed paths:
M config.m4
Diff:
diff --git a/config.m4 b/config.m4
index 52f5fde..d5a5445 100644
--- a/config.m4
+++ b/config.m4
@@ -11,7 +11,7 @@ if test "$PHP_FUZZER" != "no"; then
PHP_ADD_MAKEFILE_FRAGMENT($abs_srcdir/sapi/fuzzer/Makefile.frag)
SAPI_FUZZER_PATH=sapi/fuzzer
PHP_SUBST(SAPI_FUZZER_PATH)
- if -z "$LIB_FUZZING_ENGINE"; then
+ if test -z "$LIB_FUZZING_ENGINE"; then
FUZZING_LIB="-lFuzzer"
FUZZING_CC="$CC"
AX_CHECK_COMPILE_FLAG([-fsanitize-coverage=edge -fsanitize=address], [