1
From 169677f7699f78d483c84b4ab54943ea622535c8 Mon Sep 17 00:00:00 2001
2
From: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
3
Date: Wed, 19 Nov 2014 23:04:32 +0100
4
Subject: llvm: don't use --system-libs
6
this continues the saga of not linking the .a files so we don't care
7
about the libs llvm links against (like -ledit)
9
Signed-off-by: Sebastian Andrzej Siewior <sebastian@breakpoint.cc>
11
libclamav/c++/configure.ac | 2 +-
12
1 file changed, 1 insertion(+), 1 deletion(-)
14
diff --git a/libclamav/c++/configure.ac b/libclamav/c++/configure.ac
15
index 43e187ff1f56..2d2d47b9d24c 100644
16
--- a/libclamav/c++/configure.ac
17
+++ b/libclamav/c++/configure.ac
18
@@ -115,7 +115,7 @@ if test "x$llvmconfig" != "x"; then
19
if test $llvmver_test -ge 350; then
20
dnl LLVM 3.5.0 and after splits linker flags into two sets
21
ldflags=`$llvmconfig --ldflags`
22
- syslibs=`$llvmconfig --system-libs`
24
AC_SUBST(LLVMCONFIG_LDFLAGS, ["$ldflags $syslibs"])
26
AC_SUBST(LLVMCONFIG_LDFLAGS, [`$llvmconfig --ldflags`])