Fix clang detection on Fedora.

Thanks zmike for the patch.
This commit is contained in:
Andy Williams 2016-02-08 22:44:28 +00:00
parent cc6121d2a8
commit 5a3769b082
1 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,8 @@ EFL_TESTS([${build_tests}])
# Checks for library functions.
if test "${have_clang}" = "yes"; then
ldflags="$LDFLAGS"
LDFLAGS+=" -L${libdir}/llvm"
AC_CHECK_LIB([clang], [clang_Cursor_getArgument],
[
AC_DEFINE([HAVE_LIBCLANG], [1], [Set to 1 if clang is found])