[vlc-commits] configure: "yes" is not a directory

Rémi Denis-Courmont git at videolan.org
Thu Jul 25 19:39:02 CEST 2019


vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Jul 25 20:38:40 2019 +0300| [4f3c3b836d2edffa2e5e0f23b463fb5b45cb15fc] | committer: Rémi Denis-Courmont

configure: "yes" is not a directory

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=4f3c3b836d2edffa2e5e0f23b463fb5b45cb15fc
---

 configure.ac | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/configure.ac b/configure.ac
index 38446812ca..bfcaf8831b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -4436,10 +4436,14 @@ AC_ARG_ENABLE([vlc],
 AM_CONDITIONAL([BUILD_VLC], [test "${enable_vlc}" != "no"])
 
 dnl
-dnl Fuzzer (at the end in order to don't mess dependencies FLAGS)
+dnl Fuzzer (at the end not to mess dependencies FLAGS)
 dnl
 AS_VAR_IF(with_libfuzzer, no, [], [
-    LIBS="-lstdc++ ${LIBM} -L${with_libfuzzer} -lFuzzer"
+    LIBS="-lstdc++ ${LIBM}"
+    AS_IF([test "${with_libfuzzer}" != "yes"], [
+      LIBS="$LIBS -L${with_libfuzzer}"
+    ])
+    LIBS="$LIBS -lfuzzer"
     AX_CHECK_COMPILE_FLAG(-fsanitize-coverage=trace-pc-guard, [
         AX_APPEND_FLAG([-fsanitize-coverage=trace-pc-guard])
         AX_APPEND_FLAG([-fsanitize-coverage=trace-pc-guard], [CXXFLAGS])



More information about the vlc-commits mailing list