forked from enlightenment/edi
Fix clang detection on Fedora.
Thanks zmike for the patch.
This commit is contained in:
parent
cc6121d2a8
commit
5a3769b082
|
@ -122,6 +122,8 @@ EFL_TESTS([${build_tests}])
|
||||||
# Checks for library functions.
|
# Checks for library functions.
|
||||||
|
|
||||||
if test "${have_clang}" = "yes"; then
|
if test "${have_clang}" = "yes"; then
|
||||||
|
ldflags="$LDFLAGS"
|
||||||
|
LDFLAGS+=" -L${libdir}/llvm"
|
||||||
AC_CHECK_LIB([clang], [clang_Cursor_getArgument],
|
AC_CHECK_LIB([clang], [clang_Cursor_getArgument],
|
||||||
[
|
[
|
||||||
AC_DEFINE([HAVE_LIBCLANG], [1], [Set to 1 if clang is found])
|
AC_DEFINE([HAVE_LIBCLANG], [1], [Set to 1 if clang is found])
|
||||||
|
|
Loading…
Reference in New Issue